Remove skip_archives argument
@@ -731,7 +731,7 @@ class HTMLPage(object):
return self.url
@classmethod
- def get_page(cls, link, skip_archives=True, session=None):
+ def get_page(cls, link, session=None):
if session is None:
raise TypeError(
"get_page() missing 1 required keyword argument: 'session'"
@@ -748,7 +748,6 @@ class HTMLPage(object):
return None
try:
- if skip_archives:
filename = link.filename
for bad_ext in ARCHIVE_EXTENSIONS:
if filename.endswith(bad_ext):
