Albumgrab
CLI tool to automatically crawl and download all photos on a media platform without having to visit and save each photo manually, saving time (and sanity) - Uses: PHP 7; V8 JS; Symfony 3 components; Blackfire Player
Install / Use
/learn @adamelso/AlbumgrabREADME
Albumgrab - Automated photo album crawler and downloader
UPDATE !
Sadly, the Facebook album download feature no longer works since the page structure has changed and so this tool is effectively useless at this time. However, new crawlers will be added for other sites, such as Instagram and Twitter.
Requirements
- PHP 7.0 or greater
- Composer
- Git
- cURL
- V8
- V8js PHP extension
Roadmap
- At the moment it is only available as a command line utility, but could be available either as a website anyone can use, or an self-hosted installable web application.
- Support Facebook, Twitter and Instagram.
- This project will be split out into different packages.
- The installation process will be simplified by downloading a single packaged executable (PHAR).
Install
$ git clone https://github.com/adamelso/albumgrab
$ curl -sS https://getcomposer.org/installer | php
$ php composer.phar install
Usage (currently not functional)
Enter the Albumgrab directory
$ cd albumgrab
Then execute the app
$ bin/albumgrab download
You will then be prompted to provide the folder/directory name you want the images to be saved to, followed by the URL/link to first image in the album.
Please enter the name of the directory your images will be saved to:
images/summer-2014
Please enter the URL to the first image of the Facebook Photo Album you would like to download:
https://facebook.com/photo.php?fbid=11111&set=a.222.333.444
Not using Facebook in English
The crawler will look for a link labeled Next to find the next image.
If your Facebook is in another language, please run the command using
the -x or --next option, with the equivalent word for Next in
your language.
Example for Spanish:
$ bin/albumgrab download --next="Siguiente"
or
$ bin/albumgrab download -x Siguiente
IMPORTANT
Please use responsibly and at your own risk.

