mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-25 04:02:32 +01:00
fix create_test_data.py script
This commit is contained in:
parent
1b82d36ab2
commit
c8db2a87e9
@ -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))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user