summaryrefslogtreecommitdiff
path: root/crocoite/util.py
AgeCommit message (Collapse)AuthorFilesLines
2018-11-19Coding styleLars-Dominik Braun1-1/+1
Fix a few random issues pointed out by pylint, mainly unused imports.
2018-11-06Switch single mode to asyncioLars-Dominik Braun1-2/+2
This is a direct port to asyncio without any design changes. These need to happen in further refinements. Fixes issue #1.
2018-08-04Add package information to warcinfoLars-Dominik Braun1-1/+44
Change warcinfo record format to JSON (this is permitted by the specs) and add Python version, dependencies and their versions as well as file hashes. This should give us enough information to figure out the exact environment used to create the WARC.
2018-06-25warc: Save DOM-/image screenshot as WARC conversionLars-Dominik Braun1-0/+6
Judging from the docs this is the proper way to store these resources. Enable both for the IRC bot by default, since they won’t interfere with IA’s wayback machine.
2017-12-24Refactor behavior scriptsLars-Dominik Braun1-0/+43
No functional changes, just cleanup. Replaces onload and onsnapshot events. Move screen metric emulation, DOM snapshots and screenshots here as well.