Skip to content

Latest commit

 

History

18 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Menu scraper

Menu scraper is an CLI application that scrapes restaurants for it's daily menus and prints them in the terminal.

Getting started

git clone https://github.com/jsmadis/menu-scraper.git
cd menu-scraper
go build

Running the CLI app

To show help on how to run the app run the following command:

./menu-scraper -help

Basic commands to run the app are:

  • prints daily menu for the whole week:
./menu-scraper
  • prints daily menu only for today:
./menu-scraper --today
  • prints restaurant based on their tag
./menu-scraper --tag HW
  • prints only specified restaurants
./menu-scraper --name Cap --name Suzies

Adding new restaurants

In order to add new restaurant you need to create new entry inside config/restaurants.yml with name, url and css selector. The css selector must point to the menu in order to obtain it.

About

CLI application that scrapes daily menus of restaurants

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages