See the in-depth capabilities of Python’s web scraping tools
Python is a high-level programming language used for general-purpose programming. It has a design philosophy which emphasizes code readability and a syntax which allows programmers to express concepts in fewer lines of code than possible in languages such as C++ or Java.
This video course is a rich collection of recipes that will come in handy when you are scraping a website using Python, addressing your usual and unusual problems while scraping websites by diving deep into the capabilities of Python’sweb scraping tools such as Selenium, BeautifulSoup, and urllib2. The video will start with showing how to use selenium module for scraping by setting up a web driver, debugging with the Console and downloading files and streamlining with a Headless Browser (PhantomJS). The video will then move on to demonstrate how to do parsing with Beautifulsoup which would include introduction to the BeautifulSoupObjects, Nested Selectors and Regular Expressions Basics and how to do UTF-8 Encoding. The video will finally end by showing how to do fetching with urlib2 by using the developer tools Network tab, how to bypass the browser and retrieve files.
By The end of this video, you will be successfully able to understand the in-depth capabilities of python web scraping tools.
What You Will Learn
- Use the Selenium module and scrape with Selenium
- Find out how to set up a web driver
- Perform debugging with the console and download files
- Learn to work with Nested selectors and regular expression basics
- Discover how to perform parsing with BeautifulSoup
- Understand authentication with Wireshark.
- Master the use of URL Query Strings and HTTP Requests (GET and POST)
- Implement streamlining with headless browser
Table of Contents
Scraping with Selenium
The Course Overview
When to Web Scrape
What Makes up a Website
How to Interact with a Website
Using the Selenium Module
Ethical Web Scraping
Parsing with BeautifulSoup
Using the BeautifulSoup Module
Example: Parsing Wikipedia
Fetching the urlib2 and API’s
Bypassing the Browser
Introduction to APIs
Working with APIs