summaryrefslogtreecommitdiff
path: root/contrib/celerycrocoite.py
AgeCommit message (Collapse)AuthorFilesLines
2018-06-20Synchronous SiteLoader event handlingLars-Dominik Braun1-5/+4
Previously a browser crash stalled the entire grab, since events from pychrome were handled asynchronously in a different thread and exceptions were not propagated to the main thread. Now all browser events are stored in a queue and processed by the main thread, allowing us to handle browser crashes gracefully (more or less). This made the following additional changes necessary: - Clear separation between producer (browser) and consumer (WARC, stats, …) - Behavior scripts now yield events as well, instead of accessing the WARC writer - WARC logging was removed (for now) and WARC writer does not require serialization any more
2018-05-04sopel: Use recursive, distributed controllerLars-Dominik Braun1-2/+7
2018-05-04IRC plugin: Use argparseLars-Dominik Braun1-17/+33
2018-05-04Move page archiving logic to SinglePageControllerLars-Dominik Braun1-15/+12
In preparation for recursive crawls.
2018-02-22irc plugin: Serialize celery operationsLars-Dominik Braun1-68/+105
This is a workaround for https://github.com/celery/celery/issues/4480
2017-12-25Increase default body sizeLars-Dominik Braun1-4/+4
2017-12-24Refactor behavior scriptsLars-Dominik Braun1-10/+7
No functional changes, just cleanup. Replaces onload and onsnapshot events. Move screen metric emulation, DOM snapshots and screenshots here as well.
2017-12-22Add simple stats-keeping SiteLoaderLars-Dominik Braun1-1/+14
2017-12-19Select default behavior scripts by site URLLars-Dominik Braun1-2/+24
2017-12-17Add distributed archivingLars-Dominik Braun1-0/+144
Using celery. Also adds a plugin for the IRC bot sopel. Code still needs some love, but it should work.