Skip to content

arcslash/facebook_scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Facebook Page Photo_Scraper

Usage

  • make a file 'config.ini' to the working directory with the following content, replace username and password with your defaults.
  • Change OUTPUT to the output folder of your images to be saved, relative to the working directory
[DEFAULT]
USERNAME = <username>
SECRET = <password>
OUTPUT = data/

  • Add page_photo_link to the link of your page's photo directly as given in the sample link, in scrape.py

page_photo_link = "https://www.facebook.com/pg/TwinklingDreamsWeddingPlanners/photos/?ref=page_internal"

Download the chromedriver for selenium and save it in the directory, find in here https://pypi.org/project/selenium/

To run the script use

python3 scrape.py

About

Facebook Image Scrapper Based from Selenium

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages