3 ms·
> I set something similar up to mail me PDFs while I am in federal prison. That's amazing. I would love to hear more.
by rasengan 7y ago
> I set something similar up to mail me PDFs while I am in federal prison.
That's amazing. I would love to hear more.
- ddtaylor 7y agoIts basically Puppeteer for using Chrome headless to browse to sites I want, then Readability library that Mozilla makes is used to extract text from the page - if that fails it uses the regular page. It does this every week and emails a PDF to a friend to send in a weekly mail packet. There are APIs you can use to auto upload and they will send the letter via the post. The problem is they aren't conforming to the rules like no staples, lots, returns, weight, etc. There are also keyword filters and mappings to avoid some unfortunate article like "How to Kill A..." or some other clickbait that might trigger some kind of review. It would become "How to Hug A" and I kind of just have to keep track of those in my head.
- rasengan 7y agoThat's really impressive. Thanks for sharing!