tweak log output for skipped methods
This commit is contained in:
parent
e835afcf70
commit
58e928520a
2 changed files with 2 additions and 1 deletions
|
@ -58,6 +58,7 @@ archivebox/extractors/favicon.py
|
||||||
archivebox/extractors/git.py
|
archivebox/extractors/git.py
|
||||||
archivebox/extractors/media.py
|
archivebox/extractors/media.py
|
||||||
archivebox/extractors/pdf.py
|
archivebox/extractors/pdf.py
|
||||||
|
archivebox/extractors/readability.py
|
||||||
archivebox/extractors/screenshot.py
|
archivebox/extractors/screenshot.py
|
||||||
archivebox/extractors/singlefile.py
|
archivebox/extractors/singlefile.py
|
||||||
archivebox/extractors/title.py
|
archivebox/extractors/title.py
|
||||||
|
|
|
@ -95,7 +95,7 @@ def archive_link(link: Link, overwrite: bool=False, methods: Optional[Iterable[s
|
||||||
stats[result.status] += 1
|
stats[result.status] += 1
|
||||||
log_archive_method_finished(result)
|
log_archive_method_finished(result)
|
||||||
else:
|
else:
|
||||||
print(' > Skipping extractor: {}'.format(method_name))
|
print(' X {}'.format(method_name))
|
||||||
stats['skipped'] += 1
|
stats['skipped'] += 1
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
raise Exception('Exception in archive_methods.save_{}(Link(url={}))'.format(
|
raise Exception('Exception in archive_methods.save_{}(Link(url={}))'.format(
|
||||||
|
|
Loading…
Reference in a new issue