Created
April 1, 2022 14:20
-
-
Save pbinkley/2ab5355bab02de78a668ed907127531b to your computer and use it in GitHub Desktop.
Script to tail list of files downloaded by browsertrix
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import tailer | |
import json | |
import urllib.parse | |
for line in tailer.follow(open("crawls/collections/library-sumdu-edu-ua/pages/pages.jsonl")): | |
data = json.loads(line) | |
url = data['url'] | |
print(urllib.parse.unquote(url)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment