1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-21 18:22:30 +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__,) data = (exc.__class__.__name__,)
else: else:
fmt = TESTDATA_FMT fmt = TESTDATA_FMT
data = (tjob.hash_url.hexdigest(), data = (tjob.url_hash.hexdigest(),
tjob.hash_keyword.hexdigest(), tjob.kwdict_hash.hexdigest(),
tjob.hash_content.hexdigest()) tjob.content_hash.hexdigest())
print(tjob.extractor.__class__.__name__) print(tjob.extractor.__class__.__name__)
print(fmt.format(url, *data)) print(fmt.format(url, *data))