Click here to Skip to main content
15,885,546 members
Articles / Programming Languages / C++

Web scraping with regular expressions

18 Jan 2013CPOL 5.7K   2  
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
We're sorry, but the article you are trying to view was deleted at 15 Jun 2015.

Please go to the C++ Table of Contents to view the list of available articles in this section.