Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

4Chan to RSS

Name: Anonymous 2010-12-15 21:50

I wanted to be able to follow 4Chan threads that were moving really quickly but I wanted to read it in an RSS reader instead of on the site so I wrote a hacky python script that achieves that (however timestamps are not working). It is really simply and straightforward and requires one dependency the url is provided in the file. It updates constantly as well so just refresh the feed. Don't abuse time.sleep() because the server will stop processing your requests :) a 30 second wait between each pull is quite reasonable.

To use python ChanFeeder.py urlofthread rsspath
e.g
python ChanFeeder.py http://boards.4chan.org/g/res/14826027 rssFile

http://pastebin.com/ps3qp9bX

Name: Anonymous 2010-12-15 21:52

Only works on image boards.

Name: Anonymous 2010-12-15 23:31

Okay, but every board has an RSS feed already. Still, you get points for the effort.

Name: Anonymous 2010-12-16 10:46

I noticed that we can't read the .dat file like on 2ch, it gives a 403 error.
Without being able to read it, we might not be able to parse it for RSS without embeding the page.

On the other end, you can have access to the subject.txt file, showing the posts and last update, something might be possible with that.

Name: Anonymous 2010-12-22 3:46


Don't change these.
Name: Email:
Entire Thread Thread List