Advanced Web Scraping with Python using Scrapy & Splash
Offered By: Udemy
Course Description
Overview
What you'll learn:
- Advanced web scraping techniques
- Best techniques to analyse a website before scraping it
- Write clean spiders
- Optimize Splash scripts
- Bypass 504 HTTP errors
- Build Splash Cluster
- Bypass Google ReCaptcha (not solving it)
- Build Desktop apps for Scrapy Spiders (Tkinter)
- ScrapyRT
- Showcase scraped data using ScrapyRT & Flask
- Heavy data processing
- Input & Output processors
Hi there & welcome to the most advanced online resource on Web Scraping with Python using Scrapy & Splash. This course is fully project-based means pretty much on each section we gonna scrape a different website & tackle a different web scraping dilemma also rather than focusing on the basics of Scrapy & Splash we gonna dive straight forward into real-world projects, this also means that this course is absolutely not suitable for beginners with no background on web scraping, Scrapy, Splash & XPath expressions.
---This courses covers a variety of topics such as:---
Requests chaining, like how the requests must be sent in a certain order otherwise they won't be fulfilled at all.
How to analyze a website before scraping it, this is an important step to do since it helps a lot in choosing the right tools to scrape a website & it literally has a huge impact on the performance of your final product.
How to optimize Splash scripts by reducing/aborting all the unnecessary requests that have nothing to do with the data points you're going to scrape, this is an important thing to do if you care about the performance of Splash as it is the key to bypass 504 Gateway Timeout HTTPerrors in Splash.
We gonna also cover how to build a Cluster of Splash instances with a load balancer(HAProxy) rather than having one fully overloaded Splash instance this also helps in bypassing 504 Gateway Timeout errors.
Heavy data processing, you'll understand how Input & Output processors work so you'll be able to use them in order to clean the scraped data points as this will ensure the quality of your feeds.
We'll use ScrapyRT(Scrapy RealTime) to build spiders that can fetch data in real-time.
Showcase the scraped data points in a minimalist web app using ScrapyRT& Flask, this is extremely helpful for web scraping freelancers.
Bypass Google ReCaptcha, please don't get me wrong on this point, I don't mean that we will solve it using Scrapy, instead, I'm gonna show you a technique that I use frequently to fool websites and let them think that the request is sent using a browser & was performed by a human being!
Build clean & well-structured spiders
Finally, we gonna build a Desktop app using Tkinter, the app will fetch & execute all the available spiders in your Scrapy project, you can also choose the feed type, feed location & name, this is also extremely helpful & important if you're a web scraping freelancer, it is always a good idea to deliver to your client a desktop app rather than installing Scrapy on his machine & stuff like that.
This course is straight to the point, there's no "foobar" or "quotes to toscrape dot com" as other courses do so make sure you have a good level of focus & lot of determination & motivation.
By the end of this course, you'll sharpen your skills in web scraping using Scrapy & Splash, you'll be able to write clean & high performing spiders that differentiate you from others, this also means if you're a web scraping freelancer you'll get more offers since you can deliver "User-Friendly" spiders with a Graphical User Interface(GUI) or web apps that fetch data in real-time.
So join me on this course & let's harvest the web together!
Taught by
Ahmed Rafik
Related Courses
1C:Enterprise Junior Developer CourseMoscow Institute of Physics and Technology via Coursera Agile Development
University of Virginia via Coursera Testing with Agile
University of Virginia via Coursera PM4R Agile: mentalidad ágil en proyectos de desarrollo
Inter-American Development Bank via edX Agile Planning for Software Products
University of Alberta via Coursera