Skip to content

Commit

Permalink
originId does not always contain an URL
Browse files Browse the repository at this point in the history
  • Loading branch information
Barabazs committed Jul 20, 2020
1 parent 23cb145 commit 25b7376
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion feedly2instapaper/feedly2instapaper.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def add_to_instapaper(instapaper_session_, entry_list):
"""
failed_entries = []
for entry in entry_list:
entry_url = (entry.json['originId'])
entry_url = (entry.json['alternate'][0]['href'])
bookmark = instapaper.Bookmark(instapaper_session_, {"url": entry_url})
response = bookmark.save()
if response.decode("utf-8").find("bookmark_id") < 0:
Expand Down

0 comments on commit 25b7376

Please sign in to comment.