Skip to content

Facebook Downloader

Zach Stagers edited this page Aug 11, 2020 · 1 revision

A simple selenium based python project to download all of the pictures from "Photos of You" Facebook section (i.e. the photos which are not downloaded using Facebooks own "Download your data" tool).

A 2 second pause is used between photo download photo navigation to ensure the browser has moved on to the next page. I tested with a reduced value and this occasionally resulted in duplicates. Therefore this takes roughly 2 seconds to run per photo to download, which increases linearly - 10 photos, 20 seconds.

Short recording of it in action here: https://twitter.com/ZachStagers/status/1292865904536104967

Parameters:

  • facebookUsername: Your Facebook username.
  • facebookPassword: Your Facebook password.
  • facebookURLExtension: The last part of your Facebook profiles URL. E.g. my URL is https://www.facebook.com/zstagers, therefore this parameter just expects zstagers

Contact me on Twitter: @ZachStagers

Clone this wiki locally