Book description
Work through practical examples to unlock the full potential of web scraping with Python and gain valuable insights from high-quality data
Key Features
- Build an initial portfolio of web scraping projects with detailed explanations
- Grasp Python programming fundamentals related to web scraping and data extraction
- Acquire skills to code web scrapers, store data in desired formats, and employ the data professionally
- Purchase of the print or Kindle book includes a free PDF eBook
Book Description
Web scraping is a powerful tool for extracting data from the web, but it can be daunting for those without a technical background. Designed for novices, this book will help you grasp the fundamentals of web scraping and Python programming, even if you have no prior experience.
Adopting a practical, hands-on approach, this updated edition of Hands-On Web Scraping with Python uses real-world examples and exercises to explain key concepts. Starting with an introduction to web scraping fundamentals and Python programming, you’ll cover a range of scraping techniques, including requests, lxml, pyquery, Scrapy, and Beautiful Soup. You’ll also get to grips with advanced topics such as secure web handling, web APIs, Selenium for web scraping, PDF extraction, regex, data analysis, EDA reports, visualization, and machine learning.
This book emphasizes the importance of learning by doing. Each chapter integrates examples that demonstrate practical techniques and related skills. By the end of this book, you’ll be equipped with the skills to extract data from websites, a solid understanding of web scraping and Python programming, and the confidence to use these skills in your projects for analysis, visualization, and information discovery.
What you will learn
- Master web scraping techniques to extract data from real-world websites
- Implement popular web scraping libraries such as requests, lxml, Scrapy, and pyquery
- Develop advanced skills in web scraping, APIs, PDF extraction, regex, and machine learning
- Analyze and visualize data with Pandas and Plotly
- Develop a practical portfolio to demonstrate your web scraping skills
- Understand best practices and ethical concerns in web scraping and data extraction
Who this book is for
This book is for beginners who want to learn web scraping and data extraction using Python. No prior programming knowledge is required, but a basic understanding of web-related concepts such as websites, browsers, and HTML is assumed. If you enjoy learning by doing and want to build a portfolio of web scraping projects and delve into data-related studies and application, then this book is tailored for your needs.
Table of contents
- Hands-On Web Scraping with Python
- Contributors
- About the author
- About the reviewers
- Preface
- Part 1:Python and Web Scraping
- Chapter 1: Web Scraping Fundamentals
- Chapter 2: Python Programming for Data and Web
- Part 2:Beginning Web Scraping
- Chapter 3: Searching and Processing Web Documents
- Chapter 4: Scraping Using PyQuery, a jQuery-Like Library for Python
- Chapter 5: Scraping the Web with Scrapy and Beautiful Soup
- Part 3:Advanced Scraping Concepts
- Chapter 6: Working with the Secure Web
- Chapter 7: Data Extraction Using Web APIs
- Chapter 8: Using Selenium to Scrape the Web
- Chapter 9: Using Regular Expressions and PDFs
- Part 4:Advanced Data-Related Concepts
- Chapter 10: Data Mining, Analysis, and Visualization
- Chapter 11: Machine Learning and Web Scraping
- Part 5:Conclusion
- Chapter 12: After Scraping – Next Steps and Data Analysis
- Index
- Other Books You May Enjoy
Product information
- Title: Hands-On Web Scraping with Python - Second Edition
- Author(s):
- Release date: October 2023
- Publisher(s): Packt Publishing
- ISBN: 9781837636211
You might also like
book
Web Scraping with Python, 2nd Edition
If programming is magic then web scraping is surely a form of wizardry. By writing a …
book
Web Scraping with Python, 3rd Edition
If programming is magic, then web scraping is surely a form of wizardry. By writing a …
video
Web Scraping Tutorial with Scrapy and Python for Beginners
Web scraping is the process of scraping websites and extracting desired data from them, and in …
book
Python Web Scraping Cookbook
Untangle your web scraping complexities and access web data with ease using Python scripts About This …