ScottSteiner / uguubot

Uguubot
GNU General Public License v3.0
2 stars 3 forks source link

rms needs Reddit's "over 18" cookie #2

Open zsanter opened 7 years ago

zsanter commented 7 years ago
<Remoboth>  https://www.reddit.com/r/CringeAnarchy/comments/6c3s5n/stunning_brave_woman_on_a_playground/
<rms>   [URL] reddit.com: over 18? (www.reddit.com)
...
<Remoboth>  https://www.reddit.com/r/CringeAnarchy/comments/6c41kt/i_actually_prefer_this_to_assigned_male/
<rms>   [URL] I actually prefer this to Assigned Male : CringeAnarchy (www.reddit.com)

Whenever rms runs into a Reddit thread marked as mature, it can't tell us the title of the thread, because it's redirected to the "over 18?" page. If rms is given the proper cookie, it will be able to tell us the title of mature threads.

zsanter commented 7 years ago

i dont know if im going to fix that you have to create a reddit account and then use their api

I don't have a Reddit account and am able to see those threads, without being redirected, now that I got the cookie. I assume rms looks like any other visitor to a webpage, besides just getting the information it wants out of the first packet or so and then closing the connection. Seems like rms would be able to serve the over18 cookie and be done with it.