I am opening a webpage with urllib2 and reading its content and then passing it's content to BeautifulSoup and then scraping..
But what I want to first load the page fully or for a specfic time set and then read its content.
I have tried method like time.sleep(sec) but these are not working I am getting the same content either i read it instent or wait(sleep) for 10/15sec. and when I am entering script line by line inot python shell then I am getting different result.
I am using urllib2 and python2.7. Also I tried to find a solution but everyone suggesting to use another module. Is this not possible with Urllib2 or urllib3?
Or Do I have to use another module like requests?
please suggest