Python - Urllib2 Wait For Page To Load To Scrape Data
Firstly, I'd like to say that I do not want to use any libraries that are not provided with Python 2.7.10. The same question was posted on Stack Overflow but was answered with the
Solution 1:
This will wait 10 seconds before it reads it:
import urllib2
import time
url = 'Roblox url'
data = urllib2.urlopen(url)
time.sleep(10)
data = data.read()
Post a Comment for "Python - Urllib2 Wait For Page To Load To Scrape Data"