Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

facebook-group-posts-scraper

Clique-Paris34GPL-3.0-or-later2.4.0TypeScript support: included

Facebook group posts scraper

puppeteer, NodeJS, chalk, minimist, inquirer, configstore, bot, Facebook

readme

Facebook Group Posts Scraper

Gitter Gitmoji

All Contributors

​​

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
fgps init

Usage

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

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

For many groups at once:

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).

Contributors ✨

Thanks goes to these wonderful people (emoji key):


Kaan Yagci

💻 💬 🚇 📦

Idil Saglam

💻

Grzegorz Adam Kowalski

💻 🐛 📖

ameierchen

💻

This project follows the all-contributors specification. Contributions of any kind welcome!

changelog

Changelog

[2.3.0] - 2020-05-03

Changed

  • Code globally refactored

Fixed

  • init option issue fixed

[2.2.0] - 2020-04-20

Fixed

  • Directory not found issue fixed for group names which contains / character by replacing _ character.

[2.1.0] - 2020-04-20

Fixed

  • Directory not found issue fixed for group names which contains / character.
  • Unwanted \ characters removed at EOL in readme.

[2.0.0] - 2020-04-19

Added

  • Arm architecture support added.

Changed

  • XPath selector for group title changed.

Fixed

  • UnHandledPromiseRejection issue relateed to not found textContent fixed
  • Typos fixed on help page

[1.0.0] - 2020-04-17

Added

  • Stored user credentials feature added.
  • Dynamic group id’s added as CLI option.
  • Help page added.
  • Version option added.
  • First version of instructions added in README.md file.