aboutsummaryrefslogtreecommitdiff
path: root/src/lib/feed_utils.py
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2018-03-31 14:55:04 +0200
committerGitHub <noreply@github.com>2018-03-31 14:55:04 +0200
commit1873ed81705399658ce7628f1148327a5c595909 (patch)
tree7abea01f509a5efc136dfddbf260f60d80268186 /src/lib/feed_utils.py
parentRenew certificate. (diff)
parentCorrect spelling mistakes. (diff)
downloadnewspipe-1873ed81705399658ce7628f1148327a5c595909.tar.gz
newspipe-1873ed81705399658ce7628f1148327a5c595909.tar.bz2
newspipe-1873ed81705399658ce7628f1148327a5c595909.zip
Merge pull request #37 from EdwardBetts/spelling
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