Skip to content

Commit

Permalink
Merge pull request #299 from bfcarpio/vegrecipesofindia
Browse files Browse the repository at this point in the history
add vegrecipesofindia
  • Loading branch information
bfcarpio committed Jan 23, 2021
2 parents b6d3fbf + 2382fe3 commit 3fd58b4
Show file tree
Hide file tree
Showing 4 changed files with 810 additions and 0 deletions.
2 changes: 2 additions & 0 deletions recipe_scrapers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@
from .twopeasandtheirpod import TwoPeasAndTheirPod
from .vanillaandbean import VanillaAndBean
from .vegolosi import Vegolosi
from .vegrecipesofindia import VegRecipesOfIndia
from .watchwhatueat import WatchWhatUEat
from .whatsgabycooking import WhatsGabyCooking
from .wholefoods import WholeFoods
Expand Down Expand Up @@ -264,6 +265,7 @@
TudoGostoso.host(): TudoGostoso,
TwoPeasAndTheirPod.host(): TwoPeasAndTheirPod,
VanillaAndBean.host(): VanillaAndBean,
VegRecipesOfIndia.host(): VegRecipesOfIndia,
Vegolosi.host(): Vegolosi,
WatchWhatUEat.host(): WatchWhatUEat,
WhatsGabyCooking.host(): WhatsGabyCooking,
Expand Down
31 changes: 31 additions & 0 deletions recipe_scrapers/vegrecipesofindia.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
from ._abstract import AbstractScraper


class VegRecipesOfIndia(AbstractScraper):
@classmethod
def host(cls):
return "vegrecipesofindia.com"

def author(self):
return self.schema.author()

def title(self):
return self.schema.title()

def total_time(self):
return self.schema.total_time()

def yields(self):
return self.schema.yields()

def image(self):
return self.schema.image()

def ingredients(self):
return self.schema.ingredients()

def instructions(self):
return self.schema.instructions()

def ratings(self):
return self.schema.ratings()
Loading

0 comments on commit 3fd58b4

Please sign in to comment.