Skip to content

yetaanother/recipe-scrappers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Recipe Scrappers

Java package to scrap recipes from websites which follow Schema.org recipe schema.

This project is a port of corresponding python package but don't guarantee to be in sync.

Warning! This package is still in Beta and not yet published to Maven Central.

Show me the code

import com.prashantchaubey.recipescrappers.RecipeScrapper;
import com.prashantchaubey.recipescrappers.RecipeScrapperFactory;

class ExampleApp {
    public static void main(String[] args) {
        RecipeScrapper scrapper = RecipeScrapperFactory.get("your url");
        System.out.println(scrapper.getTitle());
        
        //If you want to suppress any exception during scrapping and get default values
        scrapper = RecipeScrapperFactory.get("your url", true);
        System.out.println(scrapper.getTotalTime());
    }
}

Scrappers available for

Support

If you need help feel free to create an issue, and I will reach out ASAP

Want to contribute

Read this.

About

Java package for scraping recipes data

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published