parsing - urllib2 returning nothing in python -
i confused !!! can tell me problem is??? code used work started returning nothing since yesterday !! did not make changes on !!! have idea??? import re re import sub import time import cookielib cookielib import cookiejar import urllib2 urllib2 import urlopen import difflib import requests def twitparser(): try: cj = cookiejar() opener = urllib2.build_opener(urllib2.httpcookieprocessor(cj)) res=opener.open('https://twitter.com/haberturk') html=res.read() splitsource=re.findall(r'<p class="js-tweet-text tweet-text">(.*?)</p>',html) print len(splitsource) item in splitsource: atweet = re.sub(r'<.*?>','',item) print atweet except exception, e: print str(e) print 'error in main try' twitparser() if code did not change,...