In this course you will learn how to scrape a websites, with practical examples on real websites using JavaScript Nodejs Request, Cheerio, NightmareJs and Puppeteer. You will be using the newest JavaScript ES7 syntax with async/await.
In this course you will learn how to scrape a websites, with practical examples on real websites using JavaScript Nodejs Request, Cheerio, NightmareJs and Puppeteer. You will be using the newest JavaScript ES7 syntax with async/await.
You will learn how to scrape a Craigslist website for software engineering jobs, using Nodejs Request and Cheerio. You will be using the newest JavaScript ES7 syntax with async/await.
You will then learn how to scrape more advanced websites that require JavaScript such as iMDB and AirBnB using NighmareJs and Puppeteer.
I'm gong to also show you with a practical real-life website, how you can even avoid wasting time on creating a web scraper in the first place, by reverse engineering websites and finding their hidden API's.
Learn how to avoid being blocked from websites when developing out your scraper, by building out the scraper in a test-driven way with mocked html, rather than hitting the website every time as you're debugging and developing it. You'll also learn what you can do if you're blocked and your alternatives to get your scraper up and running regardless.
You will also learn how to scrape on a server with a bad connection, or even if you have a bad connection.
You'll even learn how to save your results to a CSV file and MongoDB.
How do you build a scraper that scrapes every 1 hour (or other interval), and deploy it do a cloud host like Heroku or Google Cloud? Let me show you, quick and easy.
How do you scrape a site requiring passwords? I'm going to show you that too with a real website (Craigslist).
How do you serve your scraping results in a REST API with Nodejs Express? And how can we build a React frontend that's showing the results? You'll learn that too, in the quickest and simplest way possible.
Plus, a section covering how to make a basic GraphQL API is included in the course.
As a last cherry on the top, I have a section containing a secret backdoor showing you how to scrape Facebook using only Request.
If you have issues regarding a site you're trying to scrape yourself, it's totally okay to reach out to me for some help. I'd be happy to point you in the right direction. Whatever issues my students are facing, I use that to expand on my course.
Feel free to watch this later in the course if you wonder what the deprecation of the request/request-promise packages means to you
Learn the basic HTML structure of HTML tables, so you can better understand how to scrape data from them
See our end goal of the scraped data, the data structure of our scraped data from the HTML table using Request/Cheerio
Learn how to easily copy a selector in Chrome tools, so you can select the data you need from the HTML table with jQuery.
In this lecture we'll learn how to open any given URL with Puppeteer and the Chromium browser.
Setting up a MongoDB database is fast, easy and free with MLab!
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.