mirror of
https://github.com/bellingcat/auto-archiver.git
synced 2026-06-08 03:18:28 +03:00
counter_screenshots to counter_warc_files in wacz_extractor so don't get error about add mulitple items with same id.
This commit is contained in:
@@ -232,7 +232,9 @@ class WaczExtractorEnricher(Enricher, Extractor):
|
||||
|
||||
# create local file and add media
|
||||
ext = mimetypes.guess_extension(content_type)
|
||||
warc_fn = f"warc-file-{counter_screenshots}{ext}"
|
||||
|
||||
warc_fn = f"warc-file-{counter_warc_files}{ext}"
|
||||
|
||||
fn = os.path.join(tmp_dir, warc_fn)
|
||||
|
||||
record_url_best_qual = UrlUtil.twitter_best_quality_url(record_url)
|
||||
|
||||
Reference in New Issue
Block a user