Re: [Tutor] Scraping gov site: site looking for Flash player

2010-04-05 Thread Benno Lang
On 6 April 2010 03:31, Roy Hinkelman wrote: > I am using urllib2 to open some government pages, and they have some js > checking for Flash on my computer. > Is there a way to show them that I have flash? Or possibly another solution? >From reading the JavaScript, you should fetch the URL domain.t

[Tutor] Scraping gov site: site looking for Flash player

2010-04-05 Thread Roy Hinkelman
Interesting. I am using urllib2 to open some government pages, and they have some js checking for Flash on my computer. Is there a way to show them that I have flash? Or possibly another solution? My code: user_agent = 'Mozilla/4.0 (compatible; MSIE 5.5; Windows NT)' headers = {'User-Agent' : us