download_media: Add pdf to default allowed content types

We want to capture linked PDFs in addition to videos and images
pull/408/head
Mike Lang 3 months ago committed by Mike Lang
parent b46c577014
commit 2855ec759d

@ -64,7 +64,7 @@ def download_media(
output_dir, output_dir,
max_size=128*2**20, # 128MiB max_size=128*2**20, # 128MiB
timeout=60, timeout=60,
content_types=("image", "video"), content_types=("image", "video", "application/pdf"),
max_redirects=5, max_redirects=5,
retries=3, retries=3,
retry_interval=1, retry_interval=1,

Loading…
Cancel
Save