mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-13 14:44:29 -04:00
fix parser docstring
This commit is contained in:
parent
e29bfba053
commit
61ab952dab
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ class HrefParser(HTMLParser):
|
||||||
|
|
||||||
@enforce_types
|
@enforce_types
|
||||||
def parse_generic_html_export(html_file: IO[str], root_url: Optional[str]=None, **_kwargs) -> Iterable[Link]:
|
def parse_generic_html_export(html_file: IO[str], root_url: Optional[str]=None, **_kwargs) -> Iterable[Link]:
|
||||||
"""Parse Pocket-format bookmarks export files (produced by getpocket.com/export/)"""
|
"""Parse Generic HTML for href tags and use only the url (support for title coming later)"""
|
||||||
|
|
||||||
html_file.seek(0)
|
html_file.seek(0)
|
||||||
for line in html_file:
|
for line in html_file:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue