Scrape the Web: Strategies for programming websites that don't expected it

MrBlue

Senior Member
Joined
Dec 18, 2009
Messages
975
Reaction score
695
An interesting lecture on scraping/browser automation methods and strategies using Python.

* Choosing a parser: BeautifulSoup, lxml, HTMLParse, and html5lib.
* Extracting information, even in the face of bad HTML: Regular expressions, BeautifulSoup, SAX, and XPath.
* Automatic template reverse-engineering tools.
* Submitting to forms.
* Playing with XML-RPC.
* Countermeasures, and circumventing them:
o IP address limits
o Hidden form fields
o User-agent detection
o JavaScript
o CAPTCHAs
* Plenty of full source code to working examples:
o Submitting to forms for text-to-speech.
o Downloading music from web stores.
o Automating Firefox with Selenium RC to navigate a pure-JavaScript service.
* Q&A; and workshopping
* Use your power for good, not evil.

Video:
Code:
http://python.mirocommunity.org/video/1616/pycon-2010-scrape-the-web-stra
 
the video is fine and i found the guy's site:
google: asheesh laroia pycon
(i can not post links now)
 
i also found the guy's slides links:
i just could not post the link, so I give google keyword again:
google: "stats pop quitz" ext::ppdf
 
Back
Top