A Python script to download Facebook albums even if you're not the album's owner. Facebook's built-in download feature requires album ownership and sometimes fails on large albums. With this script, you can download any album.
-
Download the Repository:
- Click on the 'Code' button at the top right of this page, then select 'Download ZIP'.
- Extract the downloaded ZIP file.
-
Edit the Configuration:
- Open the 'albumDownloader.py' file with a text editor.
-
Set the Album URL:
- Find the 'ALBUM_URL' variable at the beginning of the 'doScraping()' function.
- Replace 'ALBUM_URL' with the URL of the Facebook album you want to download. (Example:
ALBUM_URL = https://www.facebook.com/media/set/?set=a.796525246431139&type=3
)
-
Install Dependencies:
- You may need to install some dependencies, such as
selenium
andbs4
. Just use:pip install selenium beautifulsoup4
- You may need to install some dependencies, such as
-
Run the Script:
- Execute the script in your terminal or command prompt using Python 3:
python3 albumDownloader.py
- Execute the script in your terminal or command prompt using Python 3:
Note: I've done this for educational purposes (web scraping practice). Feel free to contribute or modify it to suit your needs.
Happy album downloading :)!