aboutsummaryrefslogtreecommitdiff
path: root/src/lib/feed_utils.py
diff options
context:
space:
mode:
authorEdward Betts <edward@4angle.com>2018-03-31 13:39:26 +0100
committerEdward Betts <edward@4angle.com>2018-03-31 13:39:26 +0100
commit877eaa155fef72102a5bd10302ad958f487260f3 (patch)
tree7abea01f509a5efc136dfddbf260f60d80268186 /src/lib/feed_utils.py
parentRenew certificate. (diff)
downloadnewspipe-877eaa155fef72102a5bd10302ad958f487260f3.tar.gz
newspipe-877eaa155fef72102a5bd10302ad958f487260f3.tar.bz2
newspipe-877eaa155fef72102a5bd10302ad958f487260f3.zip
Correct spelling mistakes.
Diffstat (limited to 'src/lib/feed_utils.py')
-rw-r--r--src/lib/feed_utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/feed_utils.py b/src/lib/feed_utils.py
index 492391aa..4c2cee29 100644
--- a/src/lib/feed_utils.py
+++ b/src/lib/feed_utils.py
@@ -42,7 +42,7 @@ def construct_feed_from(url=None, fp_parsed=None, feed=None, query_site=True):
fp_parsed = feedparser.parse(response.content,
request_headers=response.headers)
except Exception:
- logger.exception('failed to retreive that url')
+ logger.exception('failed to retrieve that url')
fp_parsed = {'bozo': True}
assert url is not None and fp_parsed is not None
feed = feed or {}
@@ -74,7 +74,7 @@ def construct_feed_from(url=None, fp_parsed=None, feed=None, query_site=True):
try:
response = requests.get(feed['site_link'], **requests_kwargs)
except Exception:
- logger.exception('failed to retreive %r', feed['site_link'])
+ logger.exception('failed to retrieve %r', feed['site_link'])
return feed
bs_parsed = BeautifulSoup(response.content, 'html.parser',
parse_only=SoupStrainer('head'))
bgstack15