Skip to main content
  • Book
  • © 2018

Website Scraping with Python

Using BeautifulSoup and Scrapy

Apress
  • Offers road-tested techniques for website scraping and solutions to common issues developers may face
  • Provides tips and tweaking guidance for the popular scraping tools BeautifulSoup and Scrapy
  • Builds a complete scraping application over the course of the book that readers can develop further

Buy it now

Buying options

eBook USD 49.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 64.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access

This is a preview of subscription content, log in via an institution to check for access.

Table of contents (6 chapters)

  1. Front Matter

    Pages i-xviii
  2. Getting Started

    • Gábor László Hajba
    Pages 1-18
  3. Enter the Requirements

    • Gábor László Hajba
    Pages 19-39
  4. Using Beautiful Soup

    • Gábor László Hajba
    Pages 41-96
  5. Using Scrapy

    • Gábor László Hajba
    Pages 97-167
  6. Handling JavaScript

    • Gábor László Hajba
    Pages 169-192
  7. Website Scraping in the Cloud

    • Gábor László Hajba
    Pages 193-217
  8. Back Matter

    Pages 219-223

About this book

Closely examine website scraping and data processing: the technique of extracting data from websites in a format suitable for further analysis. You'll review which tools to use, and compare their features and efficiency. Focusing on BeautifulSoup4 and Scrapy, this concise, focused book highlights common problems and suggests solutions that readers can implement on their own.

Website Scraping with Python starts by introducing and installing the scraping tools and explaining the features of the full application that readers will build throughout the book. You'll see how to use BeautifulSoup4 and Scrapy individually or together to achieve the desired results. Because many sites use JavaScript, you'll also employ Selenium with a browser emulator to render these sites and make them ready for scraping.


By the end of this book, you'll have a complete scraping application to use and rewrite to suit your needs. As a bonus, the authorshows you options of how to deploy your spiders into the Cloud to leverage your computer from long-running scraping tasks.




What You'll Learn
  • Install and implement scraping tools individually and together
  • Run spiders to crawl websites for data from the cloud
  • Work with emulators and drivers to extract data from scripted sites



Who This Book Is For


Readers with some previous Python and software development experience, and an interest in website scraping.

Authors and Affiliations

  • Sopron, Hungary

    Gábor László Hajba

About the author

Gabor Laszlo Hajba is an IT Consultant who specializes in Java and Python, and holds workshops about Java and Java Enterprise Edition. As the CEO of the JaPy Szoftver Kft in Sopron, Hungary he is responsible for designing and developing customer needs in the enterprise software world. He has also held roles as a software developer with EBCONT Enterprise Technologies, and as an Advanced Software Engineer with Zuhlke Group. He considers himself  a workaholic, (hard)core and well-grounded developer, functional minded, freak of portable apps and "a champion Javavore who loves pushing code" and loves to develop in Python.





Bibliographic Information

  • Book Title: Website Scraping with Python

  • Book Subtitle: Using BeautifulSoup and Scrapy

  • Authors: Gábor László Hajba

  • DOI: https://doi.org/10.1007/978-1-4842-3925-4

  • Publisher: Apress Berkeley, CA

  • eBook Packages: Professional and Applied Computing, Apress Access Books, Professional and Applied Computing (R0)

  • Copyright Information: G�bor L�szl� Hajba 2018

  • Softcover ISBN: 978-1-4842-3924-7Published: 15 September 2018

  • eBook ISBN: 978-1-4842-3925-4Published: 14 September 2018

  • Edition Number: 1

  • Number of Pages: XVIII, 223

  • Number of Illustrations: 56 b/w illustrations

  • Topics: Python, Web Development

Buy it now

Buying options

eBook USD 49.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 64.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access