Scrapy: Powerful Web Scraping & Crawling with Python (Udemy.com)
Python Scrapy Tutorial - Learn how to scrape websites and build a powerful web crawler using Scrapy, Splash and Python
Created by: GoTrained Academy
Last updated January 2020
What you will learn
- Creating a web crawler in Scrapy
- Crawling a single or multiple pages and scrape data
- Deploying & Scheduling Spiders to ScrapingHub
- Logging into Websites with Scrapy
- Running Scrapy as a Standalone Script
- Integrating Splash with Scrapy to scrape JavaScript rendered websites
- Using Scrapy with Selenium in Special Cases, e.g. to Scrape JavaScript Driven Web Pages
- Building Scrapy Advanced Spider
- More functions that Scrapy offers after Spider is Done with Scraping
- Editing and Using Scrapy Parameters
- Exporting data extracted by Scrapy into CSV, Excel, XML, or JSON files
- Storing data extracted by Scrapy into MySQL and MongoDB databases
- Several real-life web scraping projects, including Craigslist, LinkedIn and many others
- Python source code for all exercises in this Scrapy tutorial can be downloaded
- Q&A board to send your questions and get them answered quickly
Course Description
Why this course?
Join the most popular course on Web Scraping with Scrapy, Selenium and Splash.
Learn from the a professional instructor, Lazar Telebak, full-time Web Scraping Consultant.
Apply real-world examples and practical projects of Web Scraping popular websites.
Get the most up-to-date course and the only course with 10+ hours of playable content.
Empower your knowledge with an active Q&A board to answer all your questions.
30 days money-back guarantee.
Scrapy is a free and open source web crawling framework, written in Python. Scrapy is useful for web scraping and extracting structured data which can be used for a wide range of useful applications, like data mining, information processing or historical archival. This Python Scrapy tutorial covers the fundamentals of Scrapy.
Web scraping is a technique for gathering data or information on web pages. You could revisit your favorite web site every time it updates for new information, or you could write a web scraper to have it do it for you!
Web crawling is usually the very first step of data research. Whether you are looking to obtain data from a website, track changes on the internet, or use a website API, web crawlers are a great way to get the data you need.
A web crawler, also known as web spider, is an application able to scan the World Wide Web and extract information in an automatic manner. While they have many components, web crawlers fundamentally use a simple process: download the raw data, process and extract it, and, if desired, store the data in a file or database. There are many ways to do this, and many languages you can build your web crawler or spider in.
Before Scrapy, developers have relied upon various software packages for this job using Python such as urllib2 and BeautifulSoup which are widely used. Scrapy is a new Python package that aims at easy, fast, and automated web crawling, which recently gained much popularity.
Scrapy is now widely requested by many employers, for both freelancing and in-house jobs, and that was one important reason for creating this Python Scrapy course, and that was one important reason for creating this Python Scrapy tutorial to help you enhance your skills and earn more income.
In this Scrapy tutorial, you will learn how to install Scrapy. You will also build a basic and advanced spider, and finally learn more about Scrapy architecture. Then you are going to learn about deploying spiders, logging into the websites with Scrapy. We will build a generic web crawler with Scrapy, and we will also integrate Splash and Selenium to work with Scrapy to iterate our pages. We will build an advanced spider with option to iterate our pages with Scrapy, and we will close it out using Close function with Scrapy, and then discuss Scrapy arguments. Finally, in this course, you will learn how to save the output to databases, MySQL and MongoDB. There is a dedicated section for diverse web scraping solved exercises... and updating.
One of the main advantages of Scrapy is that it is built on top of Twisted, an asynchronous networking framework. "Asynchronous" means that you do not have to wait for a request to finish before making another one; you can even achieve that with a high level of performance. Being implemented using a non-blocking (aka asynchronous) code for concurrency, Scrapy is really efficient.
It is worth noting that Scrapy tries not only to solve the content extraction (called scraping), but also the navigation to the relevant pages for the extraction (called crawling). To achieve that, a core concept in the framework is the Spider -- in practice, a Python object with a few special features, for which you write the code and the framework is responsible for triggering it.
Scrapy provides many of the functions required for downloading websites and other content on the internet, making the development process quicker and less programming-intensive. This Python Scrapy tutorial will teach you how to use Scrapy to build web crawlers and web spiders.
Scrapy is the most popular tool for web scraping and crawling written in Python. It is simple and powerful, with lots of features and possible extensions.
Python Scrapy Tutorial Topics:
This Scrapy course starts by covering the fundamentals of using Scrapy, and then concentrates on Scrapy advanced features of creating and automating web crawlers. The main topics of this Python Scrapy tutorial are as follows:
What Scrapy is, the differences between Scrapy and other Python-based web scraping libraries such as BeautifulSoup, LXML, Requests, and Selenium, and when it is better to use Scrapy.
This tutorial starts by how to create a Scrapy project and and then build a basic Spider to scrape data from a website.
Exploring XPath commands and how to use it with Scrapy to extract data.
Building a more advanced Scrapy spider to iterate multiple pages of a website and scrape data from each page.
Scrapy Architecture: the overall layout of a Scrapy project; what each field represents and how you can use them in your spider code.
Web Scraping best practices to avoid getting banned by the websites you are scraping.
In this Scrapy tutorial, you will also learn how to deploy a Scrapy web crawler to the Scrapy Cloud platform easily. Scrapy Cloud is a platform from Scrapinghub to run, automate, and manage your web crawlers in the cloud, without the need to set up your own servers.
This Scrapy tutorial also covers how to use Scrapy for web scraping authenticated (logged in) user sessions, i.e. on websites that require a username and password before displaying data.
This course concentrates mainly on how to create an advanced web crawler with Scrapy. We will cover using Scrapy CrawlSpider which is the most commonly used spider for crawling regular websites, as it provides a convenient mechanism for following links by defining a set of rules. We will also use Link Extractor object which defines how links will be extracted from each crawled page; it allows us to grab all the links on a page, no matter how many of them there are.
Instructor Details
- 4.2 Rating
2,791 Reviews
GoTrained Academy
GoTrained is an e-learning academy aiming at creating useful content in different languages and it concentrates on technology and management.
We adopt a special approach for selecting content we provide; we mainly focus on skills that are frequently requested by clients and jobs while there are only few videos that cover them. We also try to build video series to cover not only the basics, but also the advanced areas.
More courses by GoTrained Academy
Web Scraping with Python: BeautifulSoup, Requests & Selenium (2018)
4.3 (927 Reviews)
Provider: Udemy
Time: 7.9h
$11.99
Reviews
By Joanna Wyrobek on 5/23/2023
I will say this. After I reached 40% of the course, codes did not work. I lost a lot of time trying to correct them. On the other hand, even if these codes do not work, I stll learned basic technologies used in web scraping. In the end I used puppeteer and javascript, but these classes were useful. It is just a pity that the codes did not work.
By Andrei Kharchenko on 9/2/2021
Good introduction to scrapy. I found it useful for myself. Good coverage of the topic and clear explanation. However some code outdated and some code deviate from best practices. Subtitles are terrible. Thank you for the course!
By Ridge Carter on 12/20/2020
I like how detailed the instruction is and how it takes you through different iterations and explanations of how to get the data from the site. I like how the instructor explains what you're looking for in terms of the HTML as well.
By Zhi Shen Aung on 12/20/2020
course was good, however the instructor skipped through several crucial part that leaves you to figure it out yourself. Some of the material was old and requires some updates.
By Marco Sousa-Poza on 10/24/2020
So far I understand everything very well. I just have to get used to working with the Windows Powershell to use the scrapy shell. But I guess it is difficult to cover every os uses scrapy. But I think you are a very good teacher and hope to learn much more in the upcoming videos.
By Suvashish H. on 10/18/2020
Lazar kinda Scrapy legend. Why? Because he is a true Scrapy expert. He starts from Scrapy basic to Advanced. And I can almost grab data from any sites without the hassle and fix the bug as well. I'm really happy with his course curriculum. I make some awesome portfolios after followed his course. Not the work he showed, The work that I did myself. And One more thing, Never share the udemy project as your portfolio. Hope it helps you. Thank you lazar for creating such a wonderful Scrapy Python Course.
By Torty Emmanuel on 10/13/2020
Wow! This is a fantastic course. It is very practical and in a matter of a few, short videos, you can start scraping most websites on your own. I enjoyed the apt explanations in more complex sections.
I highly recommend this course. Thanks for the excellent job, Lazar!
.
By Ankita Gupta on 9/27/2020
The course is good. But one should must have strong basic knowledge.
By Kishan Saxena on 9/23/2020
Well after getting through the course i think it's worth it.
By Ran Chen on 9/18/2020
The instructor does not explain why for the actions sometimes.
By Saming Mellow on 9/16/2020
One of the worst course I have ever attended. The teacher dips the water on subject, but never explore further. For example, for selenium, the teacher doesn't explain the path difference between scrapy and selenium. It's very confusing. The course make me frustration a lot when learning scrapy.I think I need to buy another course for this. Very unhappy
By Hung-Chang Lin on 9/12/2020
It is real nice.
Quality Score
No CourseDuck member has rated this course yet. Taken it? Give each part a thumbs up or down.
Overall Score : 84 / 100




