aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2016-09-27 12:59:44 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2016-09-27 12:59:44 +0200
commitf9c705fa0e6b6440bcf1d8adf5b58f5030c93e48 (patch)
treeebb24d0de08c4aeaadf17882ddd0467d377c26eb /src
parentFixed install.sh script. (diff)
downloadnewspipe-f9c705fa0e6b6440bcf1d8adf5b58f5030c93e48.tar.gz
newspipe-f9c705fa0e6b6440bcf1d8adf5b58f5030c93e48.tar.bz2
newspipe-f9c705fa0e6b6440bcf1d8adf5b58f5030c93e48.zip
Updated installation script.
Diffstat (limited to 'src')
-rw-r--r--src/conf/conf.cfg-sample2
-rw-r--r--src/crawler/classic_crawler.py2
2 files changed, 1 insertions, 3 deletions
diff --git a/src/conf/conf.cfg-sample b/src/conf/conf.cfg-sample
index 811bde67..a9e59936 100644
--- a/src/conf/conf.cfg-sample
+++ b/src/conf/conf.cfg-sample
@@ -1,5 +1,5 @@
[webserver]
-host = 127.0.0.1
+host = 0.0.0.0
port = 5000
secret_key = a secret only you know
[cdn]
diff --git a/src/crawler/classic_crawler.py b/src/crawler/classic_crawler.py
index 8b952940..cd395d0f 100644
--- a/src/crawler/classic_crawler.py
+++ b/src/crawler/classic_crawler.py
@@ -148,8 +148,6 @@ async def insert_database(user, feed):
existing_article.dump())
continue
article = construct_article(article, feed)
- print("test.............................................")
- print(article)
try:
new_articles.append(art_contr.create(**article))
logger.info("New article % (%r) added.",
bgstack15