Change the
bbs and
anusus variables to choose your targets. Configure a cronjob to run it automatically every so often. Keep in mind that those subject.txt files get really big, so pick a reasonable schedule if you have limited bandwidth.
#!/usr/bin/env python
import urllib
bbs = 'prog'
anuses = [
'!L33tUKZj5I',
]
url = 'https://dis.4chan.org/%s/subject.txt' % bbs
f = urllib.urlopen(url)
for line in f.readlines():
try:
_, _, _, id_, posts, poster, _ = line.strip().split('<>')
except ValueError:
continue
if int(posts) < 1000 and poster in anuses:
url = 'https://dis.4chan.org/post'
data = {
'bbs': bbs,
'id': id_,
'kotehan': 'Anonymous',
'meiru': '',
'com': ">>%s\nI insure you you're an anus[i]![/i]" % (posts),
'shiichan': 'proper2',
'email': "'",
}
urllib.urlopen(url, urllib.urlencode(data))
f.close()
>>33
Check your doubles, GETS scum
!