coverpage
Getting Started with Beautiful Soup
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files eBooks discount offers and more
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Chapter 1. Installing Beautiful Soup
Installing Beautiful Soup
Using Beautiful Soup without installation
Verifying the installation
Quick reference
Summary
Chapter 2. Creating a BeautifulSoup Object
Creating a BeautifulSoup object
Tag
The NavigableString object
Quick reference
Summary
Chapter 3. Search Using Beautiful Soup
Searching in Beautiful Soup
Using search methods to scrape information from a web page
Quick reference
Summary
Chapter 4. Navigation Using Beautiful Soup
Navigation using Beautiful Soup
Quick reference
Summary
Chapter 5. Modifying Content Using Beautiful Soup
Modifying Tag using Beautiful Soup
Modifying string contents
Deleting tags from the HTML document
Special functions to modify content
Quick reference
Summary
Chapter 6. Encoding Support in Beautiful Soup
Encoding in Beautiful Soup
Output encoding
Quick reference
Summary
Chapter 7. Output in Beautiful Soup
Formatted printing
Unformatted printing
Output formatters in Beautiful Soup
Using get_text()
Quick reference
Summary
Chapter 8. Creating a Web Scraper
Getting book details from PacktPub.com
Getting selling prices from Amazon
Getting the selling price from Barnes and Noble
Summary
Index
更新时间:2021-07-19 18:30:31