From 44f53384709855c895513ddcb39eb4c734e52191 Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Fri, 12 Nov 2021 19:23:47 -0500 Subject: [PATCH] fix typo in pocket_api articl variable name --- archivebox/parsers/pocket_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archivebox/parsers/pocket_api.py b/archivebox/parsers/pocket_api.py index c51d1103..eec4d73b 100644 --- a/archivebox/parsers/pocket_api.py +++ b/archivebox/parsers/pocket_api.py @@ -47,7 +47,7 @@ def get_pocket_articles(api: Pocket, since=None, page=0): def link_from_article(article: dict, sources: list): - url: str = articl.get('resolved_url') or article['given_url'] + url: str = article.get('resolved_url') or article['given_url'] broken_protocol = _BROKEN_PROTOCOL_RE.match(url) if broken_protocol: url = url.replace(f'{broken_protocol.group(1)}:/', f'{broken_protocol.group(1)}://')