mirror of
https://github.com/ArchiveBox/ArchiveBox
synced 2025-02-23 00:38:27 +00:00
add sample input comment
This commit is contained in:
parent
56fe146f90
commit
1508c6a37d
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ def check_dependencies():
|
|||
|
||||
|
||||
def parse_pocket_export(html):
|
||||
pattern = re.compile("^\\s*<li><a href=\"(.+)\" time_added=\"(\\d+)\" tags=\"(.*)\">(.+)</a></li>", re.UNICODE)
|
||||
pattern = re.compile("^\\s*<li><a href=\"(.+)\" time_added=\"(\\d+)\" tags=\"(.*)\">(.+)</a></li>", re.UNICODE) # see sample input in ./example_ril_export.html
|
||||
for line in html:
|
||||
match = pattern.search(line)
|
||||
if match:
|
||||
|
|
Loading…
Add table
Reference in a new issue