Skip to content

homebab/web-scraper

Repository files navigation

                             ,-.-.     ,----.                                                           
                    ,-..-.-./  \==\ ,-.--` , \   _..---.                                                
                    |, \=/\=|- |==||==|-  _.-` .' .'.-. \                                               
                    |- |/ |/ , /==/|==|   `.-./==/- '=' /                                               
                     \, ,     _|==/==/_ ,    /|==|-,   '                                                
                     | -  -  , |==|==|    .-' |==|  .=. \                                               
                      \  ,  - /==/|==|_  ,`-._/==/- '=' ,|                                              
                      |-  /\ /==/ /==/ ,     /==|   -   /                                               
                      `--`  `--`  `--`-----```-._`.___,'                                                
   ,-,--.    _,.----.                ,---.          _ __       ,----.               
 ,-.'-  _\ .' .' -   \  .-.,.---.  .--.'  \      .-`.' ,`.  ,-.--` , \  .-.,.---.   
/==/_ ,_.'/==/  ,  ,-' /==/  `   \ \==\-/\ \    /==/, -   \|==|-  _.-` /==/  `   \  
\==\  \   |==|-   |  .|==|-, .=., |/==/-|_\ |  |==| _ .=. ||==|   `.-.|==|-, .=., | 
 \==\ -\  |==|_   `-' \==|   '='  /\==\,   - \ |==| , '=',/==/_ ,    /|==|   '='  / 
 _\==\ ,\ |==|   _  , |==|- ,   .' /==/ -   ,| |==|-  '..'|==|    .-' |==|- ,   .'  
/==/\/ _ |\==\.       /==|_  . ,'./==/-  /\ - \|==|,  |   |==|_  ,`-._|==|_  . ,'.  
\==\ - , / `-.`.___.-'/==/  /\ ,  )==\ _.\=\.-'/==/ - |   /==/ ,     //==/  /\ ,  ) 
 `--`---'             `--`-`--`--' `--`        `--`---'   `--`-----`` `--`-`--`--'  

web scraper API service for the following:

  • scrape recipes and ingredients data
  • save data to aws s3

Get Started

python manager.py run
  • test
python manager.py test

Setup on Mac

chromedriver

  • install chromedriver
brew install chromedriver
brew install Caskroom/versions/google-chrome-canary
  • set environment variable $CHORME_DRIVER. ex /usr/local/bin/chromedriver

aws configure

  • aws configure with ur IAM Key
# if you don't have awscli, pip install awscli
aws configure
  • OR set env $AWS_ACCESS_KEY_ID, $AWS_SECRET_ACCESS_KEY

youtube api key

  • set environment variable $YOUTUBE_API_KEY

About

web scraper for recipes and ingredients info

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published