mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-23 11:17:02 -04:00
add command: --parser option
This commit is contained in:
parent
308be35367
commit
60bd9a902e
6 changed files with 73 additions and 21 deletions
|
@ -17,7 +17,7 @@ from ..util import (
|
|||
|
||||
@enforce_types
|
||||
def parse_generic_txt_export(text_file: IO[str], **_kwargs) -> Iterable[Link]:
|
||||
"""Parse raw links from each line in a text file"""
|
||||
"""Parse links from a text file, ignoring other text"""
|
||||
|
||||
text_file.seek(0)
|
||||
for line in text_file.readlines():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue