diff options
author | cedricbonhomme <devnull@localhost> | 2012-05-03 21:49:52 +0200 |
---|---|---|
committer | cedricbonhomme <devnull@localhost> | 2012-05-03 21:49:52 +0200 |
commit | 10c8465e4ff3914b1d7f444b743ff1d3c4911d98 (patch) | |
tree | 34d6b833b17bb24f6050d42b2b6769025dbe6af2 /source/feedgetter.py | |
parent | Tests detection of feed links in HTML page. (diff) | |
download | newspipe-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-x | source/feedgetter.py | 3 |
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): """ |