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 Lien Sellæg ad9adef467 make sure we print json into stdout 6 years ago
.gitignore ignore events forlder 6 years ago
Dockerfile add app directory 6 years ago
README.md update documentation 6 years ago
package.json now scrapes with listening on graphql requests 6 years ago
scrape.js make sure we print json into stdout 6 years ago
scrape.sh fix wrong variable name 6 years ago
yarn.lock now scrapes with listening on graphql requests 6 years ago

README.md

Facebook event scraper

A simple facebook event scraper written with node using puppeteer.

Introduction

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

Dependencies for local install

bash
node > v10
yarn > # tested with 1.22

Usage

./scrape.sh --help

Examples

./scrape.sh --event 2469238006641468
./scrape.sh --page PlanetRammstein
./scrape.sh --pages PlanetRammstein bandmaldio

Alpine docker image is provided

rm -rf node_modules # If switching from a local install
docker build --tag facebook-scraper .
docker run \
    --rm \
    -v "$(pwd):/app" \
    --cap-add SYS_ADMIN \
    facebook-scraper