kramerc / irc-url-title-bot

Dockerized IRC bot to post titles of URLs posted in channels
GNU Affero General Public License v3.0
1 stars 0 forks source link

Rewrite www.reddit.com URLs to old.reddit.com for proper titles #35

Open kramerc opened 3 months ago

kramerc commented 3 months ago
12:45:42 <@whale> https://www.reddit.com/r/copypasta/comments/p821fq/do_not_face_allah_alone_when_astral_projecting/
12:45:42 <+dolphin> ⤷ Reddit - Dive into anything
12:46:17 <@Kramer> lol should just make dolphin rewrite www. to old. for reddit cause they suck
12:46:25 <@Kramer> Cause https://old.reddit.com/r/copypasta/comments/p821fq/do_not_face_allah_alone_when_astral_projecting/
12:46:27 <+dolphin> ⤷ Do NOT face Allah alone when Astral projecting : copypasta
12:46:31 <@Kramer> They didn't fuck the titles on that
kramerc commented 3 months ago

reddit just broke the --cookie "reddit_session=1" trick though lol what do. All I want is the title for IRC

kramerc commented 1 week ago

Worked around the block by modifying urltitle to proxy Reddit requests through Tor: https://github.com/kramerc/urltitle/compare/a4618c37575842edc8f0a6f0ba74294d8cbf9b73...7f0b8edb5844211a1643a3366571f43f27797ebd

kramerc commented 1 week ago

Oh right, the URL rewriting still needs to be implemented.