Why would you post a paywalled article? This isn't the first time I've clicked on something you've posted and found it's a paywalled Wall Street Journal article. Can you please stop? If I can't read the whole thing, please don't post it.
I looked into it a bit and this shouldn't be too bad. Use rss to get new hexbear posts, check links against a whitelist of sites that should be archived, check archive.ph/latest/<url> to find an existing archive. If you get one (302 response) post it, otherwise (404 response) use https://archive.ph/submit/?url=<url> to request an archive. Wait 5 minutes, then query archive.ph/latest/<url> to get the url and post that.
I might try to throw something together in the next week.
Thats a weird way to thank someone for posting something that might interest you. Also, even when op doesnt post the archieved version, commenters do fairly often, so you could just check
Why would you post a paywalled article? This isn't the first time I've clicked on something you've posted and found it's a paywalled Wall Street Journal article. Can you please stop? If I can't read the whole thing, please don't post it.
https://archive.ph/eUUH3
(hmm would be kinda cool if we had a bot that checked archive for already-saved copies and posted the link...)
Thank you.
would be kinda cool if OP just fucking did this themselves
I'll be over here beating myself up because I'm too demoralized to write a bot
I looked into it a bit and this shouldn't be too bad. Use rss to get new hexbear posts, check links against a whitelist of sites that should be archived, check archive.ph/latest/<url> to find an existing archive. If you get one (302 response) post it, otherwise (404 response) use https://archive.ph/submit/?url=<url> to request an archive. Wait 5 minutes, then query archive.ph/latest/<url> to get the url and post that.
I might try to throw something together in the next week.
Thats a weird way to thank someone for posting something that might interest you. Also, even when op doesnt post the archieved version, commenters do fairly often, so you could just check