I can't read an e-Paper version of The Times (UK) on iOS anymore (previously was using PressReader but they've removed their unoffical support for The Times subscriptions and is not available to buy in the app). However the PressReader content is still available on web and available to download as a PDF. I want to fix this by sending myself the PDF of the paper every morning π°
This downloads the latest version of The Times/The Sunday Times and supplements, downloads them as PDFs and sends them as Slack messages that I pick up to read on my iPad.
I run this on a cron GitHub Action every morning, to run this manually via Docker:
# build the docker image
$ docker build . -t the-times-pdf:latest
# run a docker container, it must be priviledged to allow Chromium to launch
$ docker run -it --privileged \
-e [email protected] -e TIMES_PASSWORD=s3cr3t \
-e SLACK_CHANNEL=C123456789 -e SLACK_TOKEN=xoxb-test-12345 \
the-times-pdf:latest
# optionally can pull/use pre-built container
$ docker pull docker.pkg.github.com/lukebrowne/the-times-pdf/the-times-pdf:latest
This is a personal automation, in the script I accept the terms of the download (that it will only be used for personal purposes) on my behalf. You should read and accept the terms of this download too prior to using the script.
The license on the repository covers the code, not the content it downloads.
The Times make it clear they will take legal action if the terms are not followed.
- Authenticate with The Times
- Download PDF from PressReader online
- Upload PDF somewhere
- Send the PDF to myself
- Run this every morning
- Also handle supplements