My Account Log in

4 options

Getting Started with Beautiful Soup / Vineeth G. Nair.

EBSCOhost Academic eBook Collection (North America) Available online

View online

Ebook Central Academic Complete Available online

View online

Ebook Central College Complete Available online

View online

O'Reilly Online Learning: Academic/Public Library Edition Available online

View online
Format:
Book
Author/Creator:
Nair, Vineeth G.
Series:
Community experience distilled
Language:
English
Subjects (All):
Python (Computer program language).
Physical Description:
1 online resource (130 p.)
Edition:
1st edition
Place of Publication:
Birmingham, England : Packt Publishing, 2014.
Language Note:
English
System Details:
text file
Summary:
This book is a practical, hands-on guide that takes you through the techniques of web scraping using Beautiful Soup.Getting Started with Beautiful Soup is great for anybody who is interested in website scraping and extracting information. However, a basic knowledge of Python, HTML tags, and CSS is required for better understanding.
Contents:
Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Installing Beautiful Soup; Installing Beautiful Soup; Installing Beautiful Soup in Linux; Installing Beautiful Soup using package manager; Installing Beautiful Soup using pip or easy_install; Installing Beautiful Soup using pip; Installing Beautiful Soup using easy_install; Installing Beautiful Soup in Windows; Verifying Python path in Windows; Installing Beautiful Soup using setup.py; Using Beautiful Soup without installation; Verifying the installation; Quick reference
SummaryChapter 2: Creating a BeautifulSoup Object; Creating a BeautifulSoup object; Creating a BeautifulSoup object from a string; Creating a BeautifulSoup object from a file-like object; Creating a BeautifulSoup object for XML parsing; Understanding the features argument; Tag; Accessing the Tag object from BeautifulSoup; Name of the Tag object; Attributes of a Tag object; The NavigableString object; Quick reference; Summary; Chapter 3: Search Using Beautiful Soup; Searching in Beautiful Soup; Searching with find(); Finding the first producer; Explaining find(); Searching with find_all()
Finding all tertiary consumersUnderstanding parameters used with find_all(); Searching for Tags in relation; Searching for the parent tags; Searching for siblings; Searching for next; Searching for previous; Using search methods to scrape information from a web page; Quick reference; Summary; Chapter 4: Navigation Using Beautiful Soup; Navigation using Beautiful Soup; Navigating down; Using the name of the child tag; Using predefined attributes; Special attributes for navigating down; Navigating up; The .parent attribute; The .parents attribute; Navigating sideways to the siblings
The .next_sibling attributeThe .previous_sibling attribute; Navigating to the previous and next objects parsed; Quick reference; Summary; Chapter 5: Modifying Content Using Beautiful Soup; Modifying Tag using Beautiful Soup; Modifying the name property of Tag; Modifying the attribute values of Tag; Updating the existing attribute value of Tag; Adding new attribute values to Tag; Deleting the tag attributes; Adding a new tag; Modifying string contents; Using .string to modify the string content; Adding strings using .append(), insert(), and new_string(); Deleting tags from the HTML document
Deleting the producer using decompose()Deleting the producer using extract(); Deleting the contents of a tag using Beautiful Soup; Special functions to modify content; Quick reference; Summary; Chapter 6: Encoding Support in Beautiful Soup; Encoding in Beautiful Soup; Understanding the original encoding of the HTML document; Specifying the encoding of the HTML document; Output encoding; Quick reference; Summary; Chapter 7: Output in Beautiful Soup; Formatted printing; Unformatted printing; Output formatters in Beautiful Soup; The minimal formatter; The html formatter; The None formatter
The function formatter
Notes:
Includes index.
"Community Experience Distilled"-- Cover.
Description based on online resource; title from PDF title page (ebrary, viewed February 03, 2014).
ISBN:
9781461957201
1461957206
9781783289561
1783289562
OCLC:
869521199

The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.

My Account

Shelf Request an item Bookmarks Fines and fees Settings

Guides

Using the Library Catalog Using Articles+ Library Account