Udemy

Web Scraping with Python: BeautifulSoup, Requests & Selenium

立即報名
  • 6,480 名學生
  • 更新於 12/2018
4.4
(925 個評分)
  • 提示:
  • 透過本站連結購買Udemy課程,本站將獲得推廣佣金,有助未來提供更多實用進修課程資訊給讀者。

課程資料

報名日期*
全年招生
課程級別
學習模式
修業期
7 小時 55 分鐘
教學語言
英語
評分
4.4
(925 個評分)
課程連結
*提示: 以上時間表僅供參考,以機構網站為準。

課程簡介

Web Scraping with Python: BeautifulSoup, Requests & Selenium

Web Scraping and Crawling with Python: Beautiful Soup, Requests & Selenium

Web Scraping (also termed Screen Scraping, Web Data Extraction, Web Harvesting, etc.) is a technique for extracting large amounts of data from websites and save the the extracted data to a local file or to a database.


In this course, you will learn how to perform web scraping using Python 3 and the Beautiful Soup, a free open-source library written in Python for parsing HTML.


We will use lxml, which is an extensive library for parsing XML and HTML documents very quickly; it can even handle messed up tags. We will also be using the Requests module instead of the already built-in urllib2 module due to improvements in speed and readability.


Finally, we will use Selenium alongside Beautiful Soup to crawl AJAX & JavaScript driven pages.


The course cover the following topics: accessing web pages programmatically; scraping web pages to extract the required data using Beautiful Soup to parse web pages; interacting with web pages to do different things with them programmatically; and using Selenium for web scraping and when we need it.


By the end of this course, you will be able to understand how websites and servers function, diverse data extraction techniques, and methods of handling and organizing data.


This Web Scraping course covers the following topics:


  • Review of data structures (Lists, Dictionaries, Tuples, File Handling)
  • How websites are hosted on servers
  • Calls to the server (GET, POST methods)
  • Review of HTML and CSS
  • Requests Module and BeautifulSoup Module overview
  • Parsing HTML using BeautifulSoup
  • Filtering elements using BeautifulSoup and navigating the Parse Tree
  • JavaScript and AJAX overview
  • Selenium and the need for it
  • Selecting elements using Selenium
  • CSS selectors
  • XPath selectors
  • Navigating pages using Selenium
  • Practical Projects




課程章節

  • 19 個章節
  • 72 堂課
  • 第 1 章 Web Scraping Course Overview
  • 第 2 章 Python Refresher: Data Structures (Optional)
  • 第 3 章 How Servers Work
  • 第 4 章 BeautifulSoup Warm-up Exercise
  • 第 5 章 Installing Required Python Packages
  • 第 6 章 Introduction to Requests Python Library
  • 第 7 章 Introduction to Beautiful Soup Python Library
  • 第 8 章 Navigating with Beautiful Soup - Going Down
  • 第 9 章 Navigating with Beautiful Soup - Going Up
  • 第 10 章 Navigating with Beautiful Soup - Going Sideways
  • 第 11 章 Regular Expressions with Python
  • 第 12 章 Searching the Parse Tree Using Beautiful Soup
  • 第 13 章 Project 1: Scraping CustomerReports Website
  • 第 14 章 Project 2: Web Scraping CodingBat Website with Beautiful Soup
  • 第 15 章 Using Selenium to Handle AJAX & JavaScript Driven Web Pages
  • 第 16 章 Project 3: Web Scraping Your Instagram Account
  • 第 17 章 Web Scraping Best Practices
  • 第 18 章 Bonus: Data Extraction with APIs
  • 第 19 章 Bonus: Scrapy: Powerful Web Scraping and Crawling Framework in Python

課程內容

  • Python Refresher: Review of Data Structures, Conditionals, File Handling, How Websites are Hosted on Servers
  • Basic Calls to Server (GET, POST Methods), Web Scraping with Python Beautiful Soup and Requests, Using Selenium to handle JavaScript and AJAX, Diverse Web Scraping Exercises, Source codes (*.py files) for all Exercises can be downloaded, Q&A board to send your questions and get them answered quickly


評價

  • L
    Lalu Mandhika
    5.0

    im new in phyton, and this course are awesome!

  • H
    Harshada
    5.0

    The last part hurries up a bit. May it should be broken down into smaller chunks. Also there should be additional tutorials on functions. However, it gave me the right kind of motivation for starting Web Scrapping

  • M
    Manas Paul
    5.0

    This Tutorial really awesome. Really I have learnt web scrapping from this tutorial. Author is really good, quick replied. Great example with proper totpic. I will recommended that, if anybody are interested web scrapping first you need to read this tutorial. Thanks for this.

  • R
    Ravali V
    4.5

    The course is amazing . Learnt about web scraping from scratch. But the last project could be explained with a complicated website like yahoo finance website etc which contain lots of data which is quite challenging to scrape

立即關注瀏覽更多

本網站使用Cookies來改善您的瀏覽體驗,請確定您同意及接受我們的私隱政策與使用條款才繼續瀏覽。

我已閱讀及同意