aboutsummaryrefslogtreecommitdiff
path: root/source/feedgetter.py
diff options
context:
space:
mode:
authorcedricbonhomme <devnull@localhost>2012-05-03 21:49:52 +0200
committercedricbonhomme <devnull@localhost>2012-05-03 21:49:52 +0200
commit10c8465e4ff3914b1d7f444b743ff1d3c4911d98 (patch)
tree34d6b833b17bb24f6050d42b2b6769025dbe6af2 /source/feedgetter.py
parentTests detection of feed links in HTML page. (diff)
downloadnewspipe-10c8465e4ff3914b1d7f444b743ff1d3c4911d98.tar.gz
newspipe-10c8465e4ff3914b1d7f444b743ff1d3c4911d98.tar.bz2
newspipe-10c8465e4ff3914b1d7f444b743ff1d3c4911d98.zip
Distant MongoDB connection working (tested with AlwaysData).
Diffstat (limited to 'source/feedgetter.py')
-rwxr-xr-xsource/feedgetter.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/feedgetter.py b/source/feedgetter.py
index a9cdaf3e..2836656c 100755
--- a/source/feedgetter.py
+++ b/source/feedgetter.py
@@ -50,7 +50,8 @@ class FeedGetter(object):
Initializes the base and variables.
"""
# MongoDB connections
- self.articles = mongodb.Articles(conf.MONGODB_ADDRESS, conf.MONGODB_PORT)
+ self.articles = mongodb.Articles(conf.MONGODB_ADDRESS, conf.MONGODB_PORT, \
+ conf.MONGODB_DBNAME, conf.MONGODB_USER, conf.MONGODB_PASSWORD)
def retrieve_feed(self):
"""
bgstack15