aboutsummaryrefslogtreecommitdiff
path: root/source/feedgetter.py
diff options
context:
space:
mode:
authorcedricbonhomme <devnull@localhost>2012-05-02 15:37:13 +0200
committercedricbonhomme <devnull@localhost>2012-05-02 15:37:13 +0200
commit8941e6d5b12010df88bcfe41bff46f3a96987fd3 (patch)
tree84884b1e7c87ab0c70eba6982266ad27a0b6f752 /source/feedgetter.py
parentConnection on the MongoDB database with authentication OK. (diff)
downloadnewspipe-8941e6d5b12010df88bcfe41bff46f3a96987fd3.tar.gz
newspipe-8941e6d5b12010df88bcfe41bff46f3a96987fd3.tar.bz2
newspipe-8941e6d5b12010df88bcfe41bff46f3a96987fd3.zip
Authentication to the MongoDB database when retrieving feeds.
Diffstat (limited to 'source/feedgetter.py')
-rwxr-xr-xsource/feedgetter.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/feedgetter.py b/source/feedgetter.py
index 59322e6a..a9cdaf3e 100755
--- a/source/feedgetter.py
+++ b/source/feedgetter.py
@@ -50,7 +50,7 @@ class FeedGetter(object):
Initializes the base and variables.
"""
# MongoDB connections
- self.articles = mongodb.Articles()
+ self.articles = mongodb.Articles(conf.MONGODB_ADDRESS, conf.MONGODB_PORT)
def retrieve_feed(self):
"""
@@ -160,4 +160,4 @@ class FeedGetter(object):
if __name__ == "__main__":
# Point of entry in execution mode
feed_getter = FeedGetter()
- feed_getter.retrieve_feed() \ No newline at end of file
+ feed_getter.retrieve_feed()
bgstack15