summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--unbiased/sources/abc.py1
-rw-r--r--unbiased/sources/base.py2
2 files changed, 1 insertions, 2 deletions
diff --git a/unbiased/sources/abc.py b/unbiased/sources/abc.py
index 2ea7aff..d9092a2 100644
--- a/unbiased/sources/abc.py
+++ b/unbiased/sources/abc.py
@@ -18,7 +18,6 @@ class ABC(NewsSource):
h1 = soup.find('article', class_='hero')\
.find('div', class_='caption-wrapper').h1.a['href']
h1s = (h1,)
- print(h1)
# get secondary headlines
h2s = soup.find('div', id='row-2')\
diff --git a/unbiased/sources/base.py b/unbiased/sources/base.py
index 861d7f4..9f51287 100644
--- a/unbiased/sources/base.py
+++ b/unbiased/sources/base.py
@@ -50,7 +50,7 @@ class NewsSource(object):
@classmethod
def build(cls):
h1s, h2s, h3s = cls._fetch_urls()
- logger.debug('Fetched {} h1s, {} h2s, {} h3s'.format(len(h1s), len(h2s), len(h3s)))
+ logger.info('Fetched {} h1s, {} h2s, {} h3s'.format(len(h1s), len(h2s), len(h3s)))
h1s = tuple(cls._normalize_url(x) for x in h1s)
h2s = tuple(cls._normalize_url(x) for x in h2s)
h3s = tuple(cls._normalize_url(x) for x in h3s)