- The DOM: https://dom.spec.whatwg.org/
- XPath: https://www.w3.org/TR/xpath/, https://www.w3.org/TR/2017/REC-xpath-31-20170321/
- XML DOM: https://www.w3schools.com/xml/dom_intro.asp
- XPath introduction: https://www.w3schools.com/xml/xpath_intro.asp
- XPath tester: https://freeformatter.com/xpath-tester.html, http://www.xpathtester.com/xslt, https://codebeautify.org/Xpath-Tester
- XPath tutorial: https://doc.scrapy.org/en/xpath-tutorial/topics/xpath-tutorial.html
- CSS Selector reference: https://www.w3schools.com/cssref/css_selectors.asp
- CSS pseudo class and elements: https://www.w3schools.com/css/css_pseudo_elements.asp
- CSS information: http://www.css3.info/, https://developer.mozilla.org/en-US/docs/Web/CSS
- CSS query parser: https://try.jsoup.org/
- CSS Selector to XPath: https://css-selector-to-xpath.appspot.com
- ElementTree overview: http://effbot.org/zone/element-index...
Hands-On Web Scraping with Python
By :
Hands-On Web Scraping with Python
By:
Overview of this book
Web scraping is an essential technique used in many organizations to gather valuable data from web pages. This book will enable you to delve into web scraping techniques and methodologies.
The book will introduce you to the fundamental concepts of web scraping techniques and how they can be applied to multiple sets of web pages. You'll use powerful libraries from the Python ecosystem such as Scrapy, lxml, pyquery, and bs4 to carry out web scraping operations. You will then get up to speed with simple to intermediate scraping operations such as identifying information from web pages and using patterns or attributes to retrieve information. This book adopts a practical approach to web scraping concepts and tools, guiding you through a series of use cases and showing you how to use the best tools and techniques to efficiently scrape web pages. You'll even cover the use of other popular web scraping tools, such as Selenium, Regex, and web-based APIs.
By the end of this book, you will have learned how to efficiently scrape the web using different techniques with Python and other popular tools.
Table of Contents (16 chapters)
Preface
Web Scraping Fundamentals
Section 2: Beginning Web Scraping
Python and the Web – Using urllib and Requests
Using LXML, XPath, and CSS Selectors
Scraping Using pyquery – a Python Library
Web Scraping Using Scrapy and Beautiful Soup
Section 3: Advanced Concepts
Working with Secure Web
Data Extraction Using Web-Based APIs
Using Selenium to Scrape the Web
Using Regex to Extract Data
Section 4: Conclusion
Next Steps
Other Books You May Enjoy
Customer Reviews