Skip to content

download of zip files even though SAVE_MEDIA = false is set #1300

Closed Answered by pirate
mamema asked this question in Q&A
Discussion options

You must be logged in to vote

Ah that's easy, set URL_DENYLIST to exclude URLs ending in .zip like so:

# see the default
archivebox config --get URL_DENYLIST

# add .zip to the list of denied extensions
archivebox config --set URL_DENYLIST='\.(zip|css|js|otf|ttf|woff|woff2|gstatic\.com|googleapis\.com/css)(\?.*)?$'

https://github.com/ArchiveBox/ArchiveBox/wiki/Configuration#url_denylist

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@pirate
Comment options

Answer selected by mamema
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants