download_media: Add pdf to default allowed content types

We want to capture linked PDFs in addition to videos and images
pull/407/head
Mike Lang 11 months ago
parent 5b0b909d26
commit a0d54dc44d

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

Loading…
Cancel
Save