Skip to content

CLI application that scrapes daily menus of restaurants

Notifications You must be signed in to change notification settings

jsmadis/menu-scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages