Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Hands-On Web Scraping with Python

You're reading from   Hands-On Web Scraping with Python Perform advanced scraping operations using various Python libraries and tools such as Selenium, Regex, and others

Arrow left icon
Product type Paperback
Published in Jul 2019
Publisher Packt
ISBN-13 9781789533392
Length 350 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Anish Chapagain Anish Chapagain
Author Profile Icon Anish Chapagain
Anish Chapagain
Arrow right icon
View More author details
Toc

Table of Contents (16) Chapters Close

Preface 1. Section 1: Introduction to Web Scraping FREE CHAPTER
2. Web Scraping Fundamentals 3. Section 2: Beginning Web Scraping
4. Python and the Web – Using urllib and Requests 5. Using LXML, XPath, and CSS Selectors 6. Scraping Using pyquery – a Python Library 7. Web Scraping Using Scrapy and Beautiful Soup 8. Section 3: Advanced Concepts
9. Working with Secure Web 10. Data Extraction Using Web-Based APIs 11. Using Selenium to Scrape the Web 12. Using Regex to Extract Data 13. Section 4: Conclusion
14. Next Steps 15. Other Books You May Enjoy

Using web browser developer tools for accessing web content

In Chapter 1, Web Scraping Fundamentals, under the Data finding techniques (seeking data from the web) section and inside Developer tools (DevTools), we introduced browser-based DevTools to locate content and explore the various panels found. DevTools offers various functional panels, which provide us with supportive tools to manage related resources.

In this particular section, our motive will be specific to identifying the particular elements that hold the content we are looking for. This identification-based information, such as XPath expression, CSS query, or even DOM-based navigation flow will be beneficial while coding Scraper.

We will explore web pages using Google Chrome. Chrome has a built-in developer tool with plenty of features (available for element identification, selection, DOM navigation, and so on). In...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime