Skip to content

Bot that constantly checks Facebook groups for new posts containing keywords.

Notifications You must be signed in to change notification settings

jackcwong2007/Facebook-Scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Facebook Scraper Bot

Discord bot that scrapes a Facebook group feed for posts with specific text and notifies a Discord channel when a post that contains any of the words is found.

You can find a demo here

What it does

  • Uses Selenium to open a Facebook group feed and read the latest post(s).
  • Detects text matching trigger words you configure.
  • When it finds a new candidate post, sends notifications to one or more Discord channels via a bot.
  • Adds a small randomized delay between checks to avoid constant polling.

How to use

  • Clone this repo
  • Install required packages (Selenium, discord.py, python 3.8+)
  • Fill out config.py with your own information
  • Run discord_bot.py
  • Complete captcha, disable notifications, sort posts by most relevant (you have a 40s grace period to do this)

About

Bot that constantly checks Facebook groups for new posts containing keywords.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages