JcGNeon

sitereader.py

Nov 18th, 2013
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.22 KB | None | 0 0
  1. import re
  2. import urllib
  3.  
  4. results = urllib.urlopen('http://reddit.com', data = None, proxies = None)
  5.  
  6. for words in results.readlines():
  7.     m = re.search('\Wgaming+',words)
  8.  
  9.     if m != None:
  10.         print m.group()
Advertisement
Add Comment
Please, Sign In to add comment