![]() |
|||
|
About Article
A Technical Blog, originally posted at http://webscraping.com/blog/Web-scraping-with-regular-expressions
Using regular expressions for web scraping is sometimes criticized, but I believe they still have their place, particularly for one-off scrapes. Let's say I want to extract the title of a particular webpage - here is an implementation using BeautifulSoup, lxml, and regular expressions:import reimpor
Top News
The Next Version of Android - Some of What's Coming Get the Insider News free each morning.Related Articles
|
||||||||||||||