Download comics programmatically and assemble them as attachments to one email.
-c CONFIG.JSONrequired config file (seeexample.config.jsonto get started)-vverbose option for debugging
JSON object with the following keys
comics- list of comic specifications; each specification is a two-item list:
- the first item is the comic name copied exactly from the URL, and
- the second is one of the supported site types, currently
gocomicse.g., https://www.gocomics.com/adamathome/2020/10/08 (useadamathomeas the comic name in the config)dilbert, e.g., https://dilbert.com/strip/2020-12-21 (usedilbertas the comic name)kingdom, e.g., https://comicskingdom.com/hagar-the-horrible/2022-04-24 (usehagar-the-horribleas the comic name)
- list of comic specifications; each specification is a two-item list:
mail_to: list of one or more e-mail addressesmail_from: one e-mail address
$ sudo apt install chromium-codecs-ffmpeg
$ sudo apt install chromium-browser
$ whereis chromium-browser
chromium-browser: /usr/bin/chromium-browser /usr/lib/chromium-browser
$ cd $HOME/.local/share/pyppeteer/local-chromium/1181205/chrome-linux/
$ rm -fr *
$ ln -s /usr/bin/chromium-browser chrome
$ sudo apt install chromium-driver