- Python Web Scraping Cookbook
- Michael Heydt
- 89字
- 2021-06-30 18:44:03
Using Scrapy selectors
Scrapy is a Python web spider framework that is used to extract data from websites. It provides many powerful features for navigating entire websites, such as the ability to follow links. One feature it provides is the ability to find data within a document using the DOM, and using the now, quite familiar, XPath.
In this recipe we will load the list of current questions on StackOverflow, and then parse this using a scrapy selector. Using that selector, we will extract the text of each question.
推薦閱讀
- 物聯網安全(原書第2版)
- 光網絡評估及案例分析
- 走進物聯網
- 萬物互聯:蜂窩物聯網組網技術詳解
- 通信簡史:從信鴿到6G+
- Metasploit Penetration Testing Cookbook
- Microservice Patterns and Best Practices
- 從實踐中學習手機抓包與數據分析
- Learning Node.js Development
- 移動物聯網:商業模式+案例分析+應用實戰
- 精通SEO:100%網站流量提升密碼
- Professional Scala
- 工業以太網技術:AFDX/TTE網絡原理、接口、互連與安全
- Enterprise ApplicationDevelopment with Ext JSand Spring
- 物聯網技術與實踐