Ưu đãi trong tuần: Nhập mã UD50 giảm 50k cho đơn từ 300k!
Trang chủ
Menu

Modern Web Scraping with Python using Scrapy Splash Selenium

Thu thập dữ liệu Web hiện đại với Python sử dụng Scrapy, Splash, Selenium

Thu thập dữ liệu Web hiện đại với Python sử dụng Scrapy, Splash, Selenium

Trở thành chuyên gia thu thập dữ liệu web và web crawling với Python 3, Scrapy, Splash và Selenium - Phiên bản thứ 2 (2021)

4.5
(3,825 đánh giá)
25,570 học viên
Giảng viên
Ahmed Rafik
Phụ đề Việt chất lượng cao Phụ đề tiếng Anh Bán chạy Đánh giá cao
50.000đ 349.000đ -86%
✓ Xem giỏ hàng và thanh toán
Bao gồm phụ đề tiếng Việt, tiếng Anh
9.0 giờ video
134 bài giảng
Truy cập vĩnh viễn
Học trên mọi thiết bị
Cập nhật: 28/04/2026

Bạn sẽ học được gì

Hiểu nguyên lý cơ bản của Thu thập dữ liệu Web
Thu thập dữ liệu từ website bằng Scrapy
Hiểu Xpath & CSS Selectors
Xây dựng một Spider hoàn chỉnh từ A đến Z
Lưu trữ dữ liệu trích xuất vào MongoDb & SQLite3
Thu thập dữ liệu từ website sử dụng JavaScript với Splash & Selenium
Xây dựng CrawlSpider
Hiểu hành vi Crawling
Xây dựng Middleware tùy chỉnh
Các phương pháp tốt nhất trong Thu thập dữ liệu Web
Tránh bị chặn khi thu thập dữ liệu website
Vượt qua Cloudflare
Thu thập dữ liệu từ API
Thu thập dữ liệu từ website có tính năng cuộn vô hạn
Làm việc với Cookies
Triển khai spider cục bộ và lên đám mây
Chạy spider định kỳ
Ngăn chặn lưu trữ dữ liệu trùng lặp
Xây dựng bộ dữ liệu
Đăng nhập vào website bằng Scrapy
Tải hình ảnh và file bằng Scrapy

Yêu cầu

Kiến thức cơ bản về Python
Có kết nối Internet

Đối tượng phù hợp

Dành cho bất kỳ ai muốn thu thập dữ liệu từ website
Dành cho bất kỳ ai muốn học Scrapy
Dành cho bất kỳ ai muốn tự động hóa việc sao chép nội dung từ website
Dành cho bất kỳ ai muốn học cách thu thập dữ liệu từ website JavaScript bằng Scrapy-Splash & Selenium

Nội dung khóa học

18 phần • 128 bài giảng
1 Giới thiệu về Thu thập dữ liệu Web & Scrapy
2 Thiết lập môi trường phát triển Scrapy (Đã cập nhật)
3 Thêm VSCODE vào path (Người dùng Mac)
4 Hướng dẫn sử dụng Udemy 101 (Vui lòng không bỏ qua*)
5 Cách đặt câu hỏi
1 Kiến thức cơ bản Scrapy PHẦN 1
2 Kiến thức cơ bản Scrapy PHẦN 2
3 Kiến thức cơ bản Scrapy PHẦN 3
4 Kiến thức cơ bản Scrapy PHẦN 4
5 Kiến thức cơ bản Scrapy PHẦN 5
1 File tải xuống
2 XPath & CSS Selectors
3 Nguyên lý cơ bản CSS Selectors
4 CSS selectors lý thuyết
5 Nguyên lý cơ bản XPath
6 Điều hướng bằng XPath (Đi LÊN)
7 Điều hướng bằng XPath (Đi XUỐNG)
8 XPath lý thuyết
1 Worldometers PHẦN 1
2 Worldometers PHẦN 2
3 Worldometers PHẦN 3
4 Worldometers PHẦN 4
5 Mã nguồn dự án
6 Bài tập
1 Xây dựng bộ dữ liệu
1 URL website (Vui lòng không bỏ qua)
2 Thiết lập dự án
3 Thiết lập dự án - Cập nhật mã -
4 Xây dựng spider
5 Xử lý phân trang
6 Giả mạo request headers
7 Mã nguồn dự án TinyDeal
8 Bài tập 2
1 Gỡ lỗi là gì?
2 Gỡ lỗi spider PHẦN 1
3 Gỡ lỗi spider PHẦN 2
1 Lý do & thời điểm thu thập dữ liệu web
2 Thách thức trong thu thập dữ liệu web
1 Cập nhật URL website
2 Cấu trúc Crawl spider
3 Đối tượng Rule
4 Theo dõi liên kết phân trang
5 Giả mạo request headers
6 Mã nguồn dự án
7 Bài tập
1 Vấn đề mà Splash giải quyết
2 Thiết lập Splash (Windows Pro/Enterprise & Mac Os)
3 Thiết lập Splash (Windows Home Edition)
4 Thiết lập Splash (Linux)
5 Giới thiệu về Splash
6 Làm việc với các phần tử
7 Giả mạo request headers
1 Cập nhật URL website
2 Chế độ ẩn danh Splash
3 Sử dụng Splash với Scrapy
4 Phân tích cú pháp (HTML MARKUP không chuẩn)
5 Mã nguồn dự án
6 Bài tập
1 Kiến thức cơ bản Selenium
2 Ngoại lệ ElementNotInteractable
3 Selenium với Scrapy
4 Selenium Middleware PHẦN 1 (MỚI)
5 Selenium Middleware PHẦN 2 (MỚI)
6 Mã nguồn dự án
1 Pipelines
2 Lưu trữ dữ liệu trong MongoDB
3 Lưu trữ dữ liệu trong SQLite3
4 Mã nguồn dự án
1 Thu thập dữ liệu từ API PHẦN 1
2 Thu thập dữ liệu từ API PHẦN 2
3 Thu thập dữ liệu từ API PHẦN 3
4 Thu thập dữ liệu từ API PHẦN 4
5 Thu thập dữ liệu từ API PHẦN 5
6 Mã nguồn dự án
1 Đăng nhập vào website PHẦN 1
2 Đăng nhập vào website PHẦN 2
3 Đăng nhập vào website PHẦN 3 (Yêu cầu JavaScript)
4 Mã nguồn dự án
1 Cập nhật URL website
2 Vượt qua Cloudflare PHẦN 1
3 Vượt qua Cloudflare PHẦN 2
4 Mã nguồn dự án
1 *QUAN TRỌNG*
2 Tránh bị chặn PHẦN 1
3 Tránh bị chặn PHẦN 2
4 Tránh bị chặn PHẦN 3
5 Thu thập dữ liệu từ API PHẦN 1
6 Thu thập dữ liệu từ API PHẦN 2
7 Thu thập dữ liệu từ API PHẦN 3
8 Thu thập dữ liệu từ API PHẦN 4
9 XHR ẩn
10 Thu thập dữ liệu từ API PHẦN 5
11 LƯU Ý QUAN TRỌNG
12 Thu thập dữ liệu từ API PHẦN 6
13 Đối số Spider
14 Thu thập dữ liệu từ API PHẦN 7
15 *QUAN TRỌNG*
16 Cách khác để thu thập dữ liệu trang chi tiết nhà hàng Airbnb
17 Triển khai spider PHẦN 1
18 Triển khai spider PHẦN 2
19 Triển khai spider PHẦN 3
20 Triển khai spider PHẦN 4
21 Thực thi spider định kỳ
22 Triển khai Splash lên Heroku
23 *QUAN TRỌNG*
24 Mã nguồn dự án
25 Mã nguồn dự án
26 Thử thách cho những ai thích phiêu lưu
27 Đăng nhập website bằng FormRequest
28 XML Http Post Requests
29 Mã nguồn dự án
30 Cập nhật mã XHR dữ liệu lặp lại (Bài tập)
31 Media Pipelines
32 Images Pipeline
33 Mở rộng Images Pipeline (Lưu ảnh với tên tùy chỉnh)
34 *QUAN TRỌNG*
35 Files Pipeline (Bài viết)
36 Thử thách (Files Pipeline)
37 Mã nguồn dự án
38 Sử dụng Crawlera với Scrapy
39 Sử dụng Crawlera với Splash
40 Sử dụng Heroku làm Proxy (MIỄN PHÍ)
41 Sử dụng Proxy MIỄN PHÍ với CrawlSpider
42 *QUAN TRỌNG*
43 Thử thách
44 Mã nguồn dự án
1 Files Pipeline
2 Bài giảng thưởng

Giới thiệu khóa học

Web Scraping nowadays has become one of the hottest topics, there are plenty of paid tools out there in the market that don't show you anything how things are done as you will be always limited to their functionalities as a consumer.

In this course you won't be a consumer anymore, i'll teach you how you can build your own scraping tool ( spider ) using Scrapy.

You will learn:

  1. The fundamentals of Web Scraping

  2. How to build a complete spider

  3. The fundamentals of XPath & CSS Selectors

  4. How to locate content/nodes from the DOM using XPath & CSS

  5. How to store the data in JSON, CSV... and even to an external database(MongoDb & SQLite3)

  6. How to write your own custom Pipeline

  7. Fundamentals of Splash

  8. How to scrape Javascript websites using Scrapy Splash & Selenium

  9. The Crawling behavior

  10. How to build a CrawlSpider

  11. How to avoid getting banned while scraping websites

  12. How to build a custom Middleware

  13. Web Scraping best practices

  14. How to scrape APIs

  15. How to use Request Cookies

  16. How to scrape infinite scroll websites

  17. Host spiders in Heroku for free

  18. Run spiders periodically with a custom script

  19. Prevent storing duplicated data

  20. Deploy Splash to Heroku

  21. Write data to Excel files

  22. Login to websites using Scrapy

  23. Download Files & Images using Scrapy

  24. Use Proxies with Scrapy Spider

  25. Use Crawlera with Scrapy & Splash

  26. Use Proxies with CrawlSpider

     

What makes this course different from the others, and why you should enroll ?

  • First, this is the most updated course. You will be using Python 3.7, Scrapy 1.6 and Splash 3.0

  • You will have an in-depth step by step guide on how to become a professional web scraper.

     

  • You will learn how to use Splash & Selenium to scrape JavaScript websites and I can assure you, you won't find any tutorials out there that teaches how to really use Splash like I'll be doing in this course.

  • You will learn how to host spiders in Heroku as well as Splash(Exclusive).

  • You will learn how to create a custom script so spiders can run periodically without any intervention from you.

  • 30 days money back guarantee by Udemy

So whether you are a data analyst who wants to add web scraping to his tool set or someone else who wants to learn how to extract unstructured data from unstructured HTML web pages and then store back that data in a structured way to apply some data analysis on it then you are welcome to join this course.

**STUDENTS THOUGHTS ABOUT THIS COURSE **

"I was particularly looking for web scraping using XPATHs and this course is addressing that. It also covers dynamic paging. A proper mix of theory and practical. A must-have for those who wants to do web scraping . GREAT learning experience !!! ". By Hiran Kumar

"90% of what I was searching for!!! Great job!! Clear explanations and great communication with Ahmed". By Raylyson Estanista 

"Admed’s Web scraping course is awesome . His approach using Python with scrapy and splash works well with all websites especially those that make heavy use of JavaScript. Ahmed is a gifted educator: expert communicator, passionate, conscientious and accessible to his students. I highly recommend this course and any of Ahmed Rafik’s Udemy courses. ". By Richard Blackmon

"Great course, and a nice introduction to Scrapy (I'm someone with no Python experience whatsoever).". By I S

"Excellent course. Quick and thorough at the same time. Ahmed is incredibly responsive to the students and often replies to questions within minutes! Highest recommendation." By Robert Nolte

"That course is very good and explanation is crystal clear! The instructor is very supportive in case of questions. Highly recommended." By Shubina Ekaterina

"I like the course. Clear explanations and good comunication with Ahmed. All topics is interesting and full of information. I improved my skils in Scrapy. Author update course content by new videos. It's a big bonus) Explained more advance topics I never see in other courses. Thank you, Ahmed. Waiting for new videos)". By Ruslan Romanenko

 

 

Khóa học liên quan

Khám phá thêm các khoá học cùng chủ đề

Hiển thị tất cả khoá học Data Science
Hiển thị tất cả khoá học Python
Hiển thị tất cả khoá học Web Development
Hiển thị tất cả khoá học Web Scraping
Zalo
Tôi có thể tư vấn khoá học cho bạn 😊