Python Web Scraping Cookbook
上QQ阅读APP看书,第一时间看更新

Data Acquisition and Extraction

In this chapter, we will cover:

  • How to parse websites and navigate the DOM using BeautifulSoup
  • Searching the DOM with Beautiful Soup's find methods
  • Querying the DOM with XPath and lxml
  • Querying data with XPath and CSS Selectors
  • Using Scrapy selectors
  • Loading data in Unicode / UTF-8 format