Oreilly - Professional Web Scraping with Java
by Patrick Meier | Released January 2018 | ISBN: None
In this short and concise course you will learn everything to get started with web scraping using Java. You will learn the concepts behind web scraping that you can apply to practically any web page (static AND dynamic / AJAX). Course structure We start with an overview of what web scraping is and what you can do with it. Then we explain the difference in scraping static pages vs dynamic / AJAX pages. You learn how to classify a website in one of the two categories and then apply the right concept in order to scrape the data you want. Now you will learn how to export the scraped data either as CSV or JSON. These are some popular formats that can be used for further processing. Unfortunately many websites try to block scrapers or sometimes you just do not want to be detected. In the section going undercover you will learn how to stay undetected and avoid getting blocked. At the end of the course you can download the full source code of all the lectures and we discuss an outlook to some advanced topics (private proxies, cloud deployment, multi threading ...). Those advanced topics are covered in a follow up course I am going to teach. Why you should take this course Stop imagining you can scrape data from websites and use the skills for your next web project, you can do it now. Stay ahead of your competition Be more efficient and automate tedious, manual tasks Increase your value by adding web scraping to your skill set Requirements You should already be familiar with Java and Maven at a basic to medium level (the course will not show you how to setup Java, Maven or an IDE) You should be familiar with HTML/CSS and know how to use your browser's developer tools You should know about CSS selectors, though we use them for scraping static web pages Prior knowledge of jQuery helps you getting started faster with Jsoup, though this is not required You should know what a web API and AJAX is (basic level is enough) Show and hide more Publisher Resources Download Example Code
- Promo 00:02:09
- Course Introduction
- Scraping static web pages
- What is a static web page 00:00:53
- Concept how to scrape static web pages 00:02:00
- Jsoup - the jQuery for Java 00:05:45
- Example - Scraping Google 00:14:04
- Scraping dynamic / AJAX web pages
- What is a dynamic web page 00:01:56
- Unirest 00:02:35
- Concept how to scrape dynamic web pages 00:11:21
- Example - Scraping peoplescrapers 00:14:59
- Exporting your data
- Export as CSV 00:02:10
- Export as JSON 00:04:23
- Going undercover
- How to stay undetected 00:02:22
- Conclusion
Show and hide more
TO MAC USERS: If RAR password doesn't work, use this archive program:
RAR Expander 0.8.5 Beta 4 and extract password protected files without error.
TO WIN USERS: If RAR password doesn't work, use this archive program:
Latest Winrar and extract password protected files without error.