fork(2) download
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. # Copyleft (ↄ) Zalgon ALL RIGHTS REVERSED
  4.  
  5. import urllib2
  6. from random import randint
  7. from time import sleep
  8.  
  9. def _run(whoid, title, referer, hits):
  10. req = urllib2.Request('http://w...content-available-to-author-only...g.us/pingjs/?k=%s&t=%s&c=s&y=&a=-1&r=%d' % (whoid, urllib2.quote(title), randint(100000,999999)))
  11. req.add_header('Referer', referer)
  12. for i in xrange(hits):
  13. req.add_header('User-agent', 'Mozilla/%d.0' % i)
  14. print urllib2.urlopen(req).readlines()
  15. #sleep(5)
  16.  
  17. if __name__ == '__main__':
  18. _run('kw37m3gbt2vj', 'http://p...content-available-to-author-only...k.com/', 'http://p...content-available-to-author-only...k.com/', 10000)
Runtime error #stdin #stdout 0.08s 10864KB
stdin
Standard input is empty
stdout
Standard output is empty