Closed mohammad-fahs closed 2 months ago
my website that i choose is responsible for soups recipes and the way and ingredients and names to make them .it is all about how to make soups and some how salads for interested visitors.
@haneendbouk can i please show me a sample of the scraped output ?
What do you mean by scrapped output
On Sun, 18 Aug 2024, 13:54 Mohamad fahs, @.***> wrote:
@haneendbouk https://github.com/haneendbouk can i please see a sample of the scraped output ?
— Reply to this email directly, view it on GitHub https://github.com/dgPadBootcamps/Java-Bootcamp-2024/issues/84#issuecomment-2295218036, or unsubscribe https://github.com/notifications/unsubscribe-auth/BHND3ATLRPZJBKXHGQSXSXLZSB4OZAVCNFSM6AAAAABMRT3BWWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJVGIYTQMBTGY . You are receiving this because you were mentioned.Message ID: @.***>
@haneendbouk ok thank you it appearfed
Task 2 :
Objective:
In this task, you will initialize a new Spring Boot project, add the JSoup dependency, and write a simple Java program to scrape data from a website of your choice. The goal is to get hands-on experience with setting up a Spring Boot project, using an external library (JSoup), and applying web scraping techniques.
Instructions:
com.yourname
web-scraper
Web Scraper
com.yourname.webscraper
Spring Web
dependency (to allow adding more features later).pom.xml
file in the root directory of your project.<dependencies>
tag:pom.xml
file and allow IntelliJ to update the Maven project to download the JSoup library.com.yourname.webscraper
package that implements theCommandLineRunner
interface.run
method, use JSoup to connect to the website you chose and scrape the data.Submit Your Work:
CommandLineRunner
.Resources that can help: