What would be the best way to emulate a IE browser with python for scraping? I've found this script http://www.mayukhbose.com/python/IEC/index.php and was wo开发者_运维百科ndering if there was anything more updated out there! (that's able to fill forms)
Thanks!
If you want to scrape, you can use a scraper module like mechanize
http://wwwsearch.sourceforge.net/mechanize/
Python Mechanize does exactly that:
http://wwwsearch.sourceforge.net/mechanize/
It acts as a browser (i.e. you can go foward and backward, search and fill out a form on a retrieved page, post etc.)
精彩评论