Practical Web Scraping for Data Science: Best Practices and Examples with PythonApress, 2018/04/18 - 306 ページ This book provides a complete and modern guide to web scraping, using Python as the programming language, without glossing over important details or best practices. Written with a data science audience in mind, the book explores both scraping and the larger context of web technologies in which it operates, to ensure full understanding. The authors recommend web scraping as a powerful tool for any data scientist’s arsenal, as many data science projects start by obtaining an appropriate data set. Starting with a brief overview on scraping and real-life use cases, the authors explore the core concepts of HTTP, HTML, and CSS to provide a solid foundation. Along with a quick Python primer, they cover Selenium for JavaScript-heavy sites, and web crawling in detail. The book finishes with a recap of best practices and a collection of examples that bring together everything you've learned and illustrate various data science use cases.What You'll Learn
A data science oriented audience that is probably already familiar with Python or another programming language or analytical toolkit (R, SAS, SPSS, etc). Students or instructors in university courses may also benefit. Readers unfamiliar with Python will appreciate a quick Python primer in chapter 1 to catch up with the basics and provide pointers to other guides as well. |
他の版 - すべて表示
多く使われている語句
already approach argument attribute basically Beautiful Soup body browser called chapter checks Chrome comes construct containing continue contours cookies create data science database deal developer document element encoding example execute extract fetch field Figure Finally format function going headers helpful hence import requests url indicate inside install instance interesting JavaScript keep language locator look matching means method multiple Note object once parameters parse perform POST request present programming projects Python quotes regarding reply requests.get(url response retrieve scraping script seen Selenium server session simply string submit sure True visiting wait we’ll window writing