You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Jørgen Sverre Lien Sellæg 1730c57b18 create script to genereate bash array for scrape daemon 5 years ago
bin create script to genereate bash array for scrape daemon 5 years ago
src update 5 years ago
tests remove -p option and rename scrape.sh to scrape 6 years ago
.dockerignore add dockerignore and update docs 6 years ago
.eslintrc.js add eslint 6 years ago
.gitignore update 5 years ago
Dockerfile move scrape to bin directory 6 years ago
LICENSE Add LICENSE 6 years ago
README.md update docs 6 years ago
babel.config.js add jest 6 years ago
package.json update 5 years ago
yarn.lock update 5 years ago

README.md

Facebook page events scraper

Now you can get JSON representation of all events hosted by a Facebook page.

Disclaimer

Please note that terms and conditions apply from Facebook and this script should only be used if written consent is provided by Facebook.

Dependencies

bash
node >= v10
yarn
google-chrome / chromium

NOTE: You might want to set environment variables to use an existing chrome install. (Voluntary)

export PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true
export PUPPETEER_EXECUTABLE_PATH=/bin/google-chrome

Usage

./bin/scrape PlanetRammstein
./bin/scrape --skip-upcoming-events --past-events PlanetRammstein

Usage with docker

docker build --tag facebook-page-events-scraper .
docker run \
    --rm \
    --cap-add SYS_ADMIN \
    facebook-page-events-scraper \
    scrape PlanetRammstein