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!
Table of Contents:
1. Required Software
2. What you should ALWAYS check before even writing a web scraper!
3. Intro to CSS selectors and tools we use for scraping
4. Scraping HTML tables with RequestCheerio
5. Scraping software jobs on Craigslist using Puppeteer
6. Web Scraping Craigslist Jobs using Nodejs Request
7. What to do if you're blocked
8. Building a web scraper the TDD way
9. Exporting web scraping results to CSV
10. Handling Network Problems
11. Robots.txt parsing
12. Scraping Sites with Pagination
13. Scraping Sites with Authentication
14. Scraping a website with CookieSession authentication and CSRF tokens
15. Scraping Nordstrom.com - how to find a secret API and avoid building a scraper!
16. Scraping Imdb using NightmareJs
17. Scraping AirBnb using Puppeteer
18. Architecture for web scraper with an API
19. Saving scraping data to MongoDB
20. Deploying a periodic scraper to production
21. Deploying Puppeteer web scraper to Heroku
22. BONUS GraphQL Introduction
23. Scraping a infinite scrolling page (Facebook, Instagram, Pinterest etc.)
24. SECRET BACKDOOR to Scraping Facebook without JavaScript enabled!
25. Student Q&A
26. BONUS - My other Node.js courses