瀏覽代碼

fix parser docstring

Nick Sweeting 5 年之前
父節點
當前提交
61ab952dab
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      archivebox/parsers/generic_html.py

+ 1 - 1
archivebox/parsers/generic_html.py

@@ -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: