mirror of
https://github.com/ArchiveBox/ArchiveBox
synced 2024-11-22 20:23:12 +00:00
bb2a2e758a
When trying to import my pocket library I got a lot of ` KeyError` on Python. Pocket API has a few idiosyncrasies, such as sometimes returning the keys on json, sometimes not. ` ` ` sh archivebox add --parser pocket_api pocket://my_username ` ` ` Gave me this errors ` ` ` File "/app/archivebox/parsers/pocket_api.py", line 54, in link_from_article title = article['resolved_title'] or article['given_title'] or url KeyError: 'resolved_title' ` ` ` This commit are the patches I've changed to successfully import my library |
||
---|---|---|
.. | ||
__init__.py | ||
generic_html.py | ||
generic_json.py | ||
generic_rss.py | ||
generic_txt.py | ||
medium_rss.py | ||
netscape_html.py | ||
pinboard_rss.py | ||
pocket_api.py | ||
pocket_html.py | ||
shaarli_rss.py | ||
url_list.py | ||
wallabag_atom.py |