https://github.com/mikedevelops/facebook-archiver
Retrieve and download Facebook photographs you are tagged in
https://github.com/mikedevelops/facebook-archiver
facebook javascript photos scraper
Last synced: about 1 month ago
JSON representation
Retrieve and download Facebook photographs you are tagged in
- Host: GitHub
- URL: https://github.com/mikedevelops/facebook-archiver
- Owner: mikedevelops
- Created: 2017-08-03T20:55:14.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2018-02-09T10:19:56.000Z (over 8 years ago)
- Last Synced: 2025-02-28T23:58:37.852Z (over 1 year ago)
- Topics: facebook, javascript, photos, scraper
- Language: JavaScript
- Homepage:
- Size: 21.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Facebook Archiver
Retrieve and download Facebook photographs you are tagged in using the selenium-webdriver.
# Install
```
git clone https://github.com/mikedevelops/facebook-archiver.git
cd facebook-archiver
npm install
```
Then get the appropriate geckodriver for your OS/machine (see: http://seleniumhq.github.io/selenium/docs/api/javascript/index.html). It should be accessible from your PATH
# Usage
Set `FACEBOOK_USER` and `FACEBOOK_PASS` to your credentials, then:
```shell
FACEBOOK_USER=mike@github.com FACEBOOK_PASS=*********** node index.js
mkdir images
cd images
cat ../photos.txt | sort -u | xargs -n 1 -P 10 wget -q
```
Tips: -P is for the number of parallel download, raise it for faster download
# Disclaimer
Read Facebook's [Automated Data Collection Terms](https://www.facebook.com/apps/site_scraping_tos_terms.php) before use.