removes rearchiving logic

This commit is contained in:
msramalho
2023-07-27 20:14:50 +01:00
parent 1e66a2c905
commit 3dd3775cbd
8 changed files with 6 additions and 33 deletions

View File

@@ -27,11 +27,6 @@ class Archiver(Step):
# used to clean unnecessary URL parameters OR unfurl redirect links
return url
def is_rearchivable(self, url: str) -> bool:
# archivers can signal if it does not make sense to rearchive a piece of content
# default is rearchiving
return True
def _guess_file_type(self, path: str) -> str:
"""
Receives a URL or filename and returns global mimetype like 'image' or 'video'