Skip to content

Web service that provides a scrapping tool to retrieve the latest Udemy paid courses for free.

Notifications You must be signed in to change notification settings

Gonzlem/udemy-free-courses

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

udemy-free-courses

Web service that provides a scrapping tool to retrieve the latest Udemy paid courses for free.

explanation

The scrapping service is intended to be launched daily, to update the database. The way it works now is not the fastest, as it goes through every page on a given web that publishes this Udemy courses on a daily basis, and retrieves the information from there.

To test it, you should change the configurations on application.properties:

spring.datasource.url=jdbc:sqlserver://localhost:1433;databaseName={your-database}
spring.datasource.driver-class-name=com.microsoft.sqlserver.jdbc.SQLServerDriver
spring.datasource.username={your-db-name} 
spring.datasource.password={your-db-password} 

Probably, you'll have to change the SeleniumConfigurer class, specifically, the ChromeDriver.exe path. Replace it with your local Absolute Path.

System.setProperty("webdriver.chrome.driver", "E:\\Apps\\Projects\\udemy-free-courses\\src\\main\\resources\\chromedriver.exe");

endpoints

POST: "/scrapper" => Retrieves the information from the pages and adds the data to the database.

GET: "/courses/all" => Retrieves all the courses currently contained on the database.

GET: "/courses/all/date/asc" => Retrieves all the courses currently contained on the database, ordered by date.

GET: "/courses/all/title?{string}" => Retrieves all the courses filtered by title that contains the word/character passed on the query string.

About

Web service that provides a scrapping tool to retrieve the latest Udemy paid courses for free.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages