© Seppe vanden Broucke and Bart Baesens 2018
Seppe vanden Broucke and Bart BaesensPractical Web Scraping for Data Sciencehttps://doi.org/10.1007/978-1-4842-3582-9_5

5. Dealing with JavaScript

Seppe vanden Broucke1  and Bart Baesens2
(1)
KU Leuven, Leuven, Belgium
(2)
Dept of Decision Sci & Info Managem, KU Leuven Dept of Decision Sci & Info Managem, Leuven, Belgium
 

Together with HTML and CSS, JavaScript forms the third and final core building block of the modern web. We’ve already seen JavaScript appearing occasionally throughout this book, and it’s time that we take a closer look at it. As we’ll soon see in this chapter, our sturdy requests plus Beautiful Soup combination is no longer a viable approach to scrape JavaScript-heavy pages. As such, this ...

Get Practical Web Scraping for Data Science: Best Practices and Examples with Python now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.