Browse Source

update documentation

fix-broken-scrape
Jørgen Lien Sellæg 6 years ago
parent
commit
a32db19279
  1. 28
      README.md

28
README.md

@ -1,19 +1,41 @@
# Facebook event scraper # Facebook event scraper
A simple facebook event scraper written with puppeteer A simple facebook event scraper written with node using puppeteer.
## Introduction ## Introduction
Please note that terms and condition apply from facebook and this should only be Please note that terms and conditions apply from Facebook and this script should
used if written consent is provided by facebook. However it will work without. only be used if written consent is provided by Facebook.
## Dependencies for local install
```sh
bash
node > v10
yarn > # tested with 1.22
```
## Usage ## Usage
```sh
./scrape.sh --help
```
## Examples
```sh
./scrape.sh --event 2469238006641468
./scrape.sh --page PlanetRammstein
./scrape.sh --pages PlanetRammstein bandmaldio
```
### Alpine docker image is provided ### Alpine docker image is provided
```sh ```sh
rm -rf node_modules # If switching from a local install
docker build --tag facebook-scraper . docker build --tag facebook-scraper .
docker run \ docker run \
--rm \
-v "$(pwd):/app" \ -v "$(pwd):/app" \
--cap-add SYS_ADMIN \ --cap-add SYS_ADMIN \
facebook-scraper facebook-scraper

Loading…
Cancel
Save