Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md #20

Merged
merged 3 commits into from
Feb 9, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 26 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,31 @@
# Facebook Group Posts Scraper
​​

Facebook Group Posts Scraper is a package which is used for scraping facebook group posts by their group ids.

## Getting Started - Installation
`npm i facebook-group-posts-scraper -g --unsafe-perm`

```sh
npm i facebook-group-posts-scraper -g --unsafe-perm
fgps init
```
## Usage

To scrape posts from group accessible by URL facebook.com/groups/some_group/:

```sh
fgps --group-ids some_group --output /some/output/dir
```

For many groups at once:
```sh
fgps --group-ids some_group1,some_group2,some_group3 --output /some/output/dir
```

## Command-line options

- `fgps -h/--help` - Shows the help page.
- `fgps -v/--version` - Shows the CLI version.
- `fgps --output` - Specify the output folder destination.
- `fgps --headful` - Disable headless mode.
- `fgps init` - Initialize user configuration.
- `fgps --group-ids` - Indicates which groups ids that we want to scrape (seperated by commas).
- `fgps -h/--help` - Shows the help page.
- `fgps -v/--version` - Shows the CLI version.
- `fgps --output` - Specify the output folder destination.
- `fgps --headful` - Disable headless mode.
- `fgps init` - Initialize user configuration.
- `fgps --group-ids` - Indicates which groups ids that we want to scrape (seperated by commas).