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.
|
|
|
|
# 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
|
|
|
|
|
|
|
|
|
|
```sh
|
|
|
|
|
bash
|
|
|
|
|
node > v10
|
|
|
|
|
yarn > # tested with 1.22
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
|
|
```sh
|
|
|
|
|
./scrape --help
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Examples
|
|
|
|
|
|
|
|
|
|
```sh
|
|
|
|
|
./scrape PlanetRammstein
|
|
|
|
|
./scrape --skip-upcoming-events --past-events PlanetRammstein
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
### Alpine docker image is provided
|
|
|
|
|
|
|
|
|
|
```sh
|
|
|
|
|
rm -rf node_modules # If switching from a local install
|
|
|
|
|
docker build --tag facebook-scraper .
|
|
|
|
|
docker run \
|
|
|
|
|
--rm \
|
|
|
|
|
--cap-add SYS_ADMIN \
|
|
|
|
|
facebook-scraper \
|
|
|
|
|
scrape PlanetRammstein
|
|
|
|
|
```
|