1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-24 19:52:32 +01:00

fix create_test_data.py script

This commit is contained in:
Mike Fährmann 2020-03-25 22:06:38 +01:00
parent 1b82d36ab2
commit c8db2a87e9
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

View File

@ -58,9 +58,9 @@ def main():
data = (exc.__class__.__name__,)
else:
fmt = TESTDATA_FMT
data = (tjob.hash_url.hexdigest(),
tjob.hash_keyword.hexdigest(),
tjob.hash_content.hexdigest())
data = (tjob.url_hash.hexdigest(),
tjob.kwdict_hash.hexdigest(),
tjob.content_hash.hexdigest())
print(tjob.extractor.__class__.__name__)
print(fmt.format(url, *data))