Web scraping is simply automatically opening up any website and grabbing the data you find important on that website. It's fundamental to the internet, search engines, Data Science, automation, machine learning, and much more.
Web scraping is simply automatically opening up any website and grabbing the data you find important on that website. It's fundamental to the internet, search engines, Data Science, automation, machine learning, and much more.
Opening websites and extracting data are only part of what makes web scraping great. It's the parsing of the data that's where the value is.
This project will cover:
Basic web scraping with Python
Web scraping with Selenium
Sync vs Async
Asynchronous Web scraping with Asyncio
But why asynchronous code? What is it? How does it benefit us?
Asynchrounous code is a way to execute multiple functions basically at once. It's not actually at the exact same time but it's close. (They actually run concurrently). This means that we can do more things in less time and, when it comes to mining or scraping data, this time saving is absolutely significant.
Imagine for a moment you're recreating google's search engine. You'd have to scrape trillions (if not more) web pages on a regular interval to help with the search results. Of course you're not going to be scraping all of the trillions of pages at once but the idea is that scraping event 1,000 pages would take a very long time doing it synchronously (like using Python requests and/or just selenium).
If you've done a lot of web scraping before but never used Python's aysncio, this course will help you better understand the fundamentals and bring your scraping game to another level.
Let's get started.
OpenCourser helps millions of learners each year. People visit us to learn workspace skills, ace their exams, and nurture their curiosity.
Our extensive catalog contains over 50,000 courses and twice as many books. Browse by search, by topic, or even by career interests. We'll match you to the right resources quickly.
Find this site helpful? Tell a friend about us.
We're supported by our community of learners. When you purchase or subscribe to courses and programs or purchase books, we may earn a commission from our partners.
Your purchases help us maintain our catalog and keep our servers humming without ads.
Thank you for supporting OpenCourser.