mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-31 21:41:33 +00:00
Need content to read json from
This commit is contained in:
parent
31884625bd
commit
936ae4d70c
1 changed files with 1 additions and 1 deletions
|
@ -299,7 +299,7 @@ class MFeedback(mongo.Document):
|
|||
def collect_feedback(cls):
|
||||
seen_posts = set()
|
||||
try:
|
||||
data = requests.get('https://forum.newsblur.com/posts.json', timeout=3)
|
||||
data = requests.get('https://forum.newsblur.com/posts.json', timeout=3).content
|
||||
except (urllib.error.HTTPError, requests.exceptions.ConnectTimeout) as e:
|
||||
logging.debug(" ***> Failed to collect feedback: %s" % e)
|
||||
return
|
||||
|
|
Loading…
Add table
Reference in a new issue