Jump to ratings and reviews
Rate this book

Hands-On Web Scraping with Python: Perform advanced scraping operations using various Python libraries and tools such as Selenium, Regex, and others

Rate this book

Collect and scrape different complexities of data from the modern Web using the latest tools, best practices, and techniques

Key Features Learn various scraping techniques using a range of Python libraries such as Scrapy and Beautiful Soup Build scrapers and crawlers to extract relevant information from the web Automate web scraping operations to bridge the accuracy gap and ease complex business needs Book Description

Web scraping is an essential technique used in many organizations to scrape valuable data from web pages. This book will enable you to delve deeply into web scraping techniques and methodologies.

This book will introduce you to the fundamental concepts of web scraping techniques and how they can be applied to multiple sets of web pages. We'll use powerful libraries from the Python ecosystem—such as Scrapy, lxml, pyquery, bs4, and others—to carry out web scraping operations. We will take an in-depth look at essential tasks to carry out simple to intermediate scraping operations such as identifying information from web pages, using patterns or attributes to retrieve information, and others. 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. This book also covers 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.

What you will learn Analyze data and Information from web pages Learn how to use browser-based developer tools from the scraping perspective Use XPath and CSS selectors to identify and explore markup elements Learn to handle and manage cookies Explore advanced concepts in handling HTML forms and processing logins Optimize web securities, data storage, and API use to scrape data Use Regex with Python to extract data Deal with complex web entities by using Selenium to find and extract data Who this book is for

This book is for Python programmers, data analysts, web scraping newbies, and anyone who wants to learn how to perform web scraping from scratch. If you want to begin your journey in applying web scraping techniques to a range of web pages, then this book is what you need! A working knowledge of the Python programming language is expected.

Table of Contents Web Scraping Fundamentals 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 Working with Secure Web Data Extraction Using Web-Based APIs Using Selenium to Scrape the Web Using Regex to Extract Data Next Steps

350 pages, Kindle Edition

Published July 15, 2019

21 people are currently reading
28 people want to read

About the author

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
2 (25%)
4 stars
3 (37%)
3 stars
2 (25%)
2 stars
1 (12%)
1 star
0 (0%)
Displaying 1 - 2 of 2 reviews
600 reviews11 followers
March 5, 2023
A solid book on web scraping in Python. However, I did not understand why there needs to be a part on AngularJS and the whole final section from Machine Learning and datamining filled pages but did not add value.
Profile Image for aaron.
35 reviews6 followers
January 15, 2025
i cant praise it much more than ryan mitchell's book as they both lack guidance maybe.. some parts of this one feel messy and shortened. i think they both are a good start and the examples here and in that book are helpful but not many
Displaying 1 - 2 of 2 reviews

Can't find what you're looking for?

Get help and learn more about the design.