Web Scraping Facebook with Selenium - AUTOMATED BOT

Web Scraping Facebook with Selenium - AUTOMATED BOT

In this tutorial you will learn how to create a web scraping bot that can download an entire Facebook image gallery, both tagged and personal photos at once. With the help of Python, Jupyter Notebook, Selenium and Chrome Driver - you will achieve 100% automation and obtain all the tools to adjust your code in the future, should Facebook change anything on their end.

In this tutorial you will learn how to create a web scraping bot that can download an entire Facebook image gallery, both tagged and personal photos at once. With the help of Python, Jupyter Notebook, Selenium and Chrome Driver - you will achieve 100% automation and obtain all the tools to adjust your code in the future, should Facebook change anything on their end.

Web Scraping Instagram with Selenium CODE ON GITHUB: https://github.com/MariyaSha/WebscrapingInstagram/blob/main/WebscrapingInstagram_completeNotebook.ipynb

Web Scraping Facebook with Selenium COMPLETE NOTEBOOK: https://github.com/MariyaSha/WebscrapingFacebook/blob/main/FB_Scraper.ipynb

TIMESTAMPS:

  • 00:00 - 2:23 intro

a. preparation steps

  • 02:23 - Install Selenium
  • 03:07 - Install Wget
  • 03:39 - Download Chrome Driver
  • 04:44 - Launch Jupyter Notebook b. coding
  • 05:29 - Imports and Intro
  • 06:10 - Webdriver get command
  • 07:09 - Developer Tools Guide
  • 08:12 - Login: Username, Password, Submit
  • 09:26 - Dismiss Alerts: Stackoverflow
  • 10:59 - Shortcut to get Photo Gallery
  • 11:58 - Loop over tagged and personal photos
  • 13:12 - Scroll to the end of the page: Loop
  • 15:41 - Target all anchor elements on the page
  • 17:21 - Target specific anchor elements
  • 20:04 - Target all image elements on the page
  • 22:16 - Target a specific image element
  • 24:11 - Create a new directory at the root
  • 25:06 - Download all the photos
  • 25:53 - Last Automation Step
  • 26:52 - Run the bot
  • 27:04 - Test the bot

selenium python web-development programming

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

Hire Python Developers

Are you looking for experienced, reliable, and qualified Python developers? If yes, you have reached the right place. At **[HourlyDeveloper.io](https://hourlydeveloper.io/ "HourlyDeveloper.io")**, our full-stack Python development services...

Hire Python Developers India

Looking to build robust, scalable, and dynamic responsive websites and applications in Python? At **[HourlyDeveloper.io](https://hourlydeveloper.io/ "HourlyDeveloper.io")**, we constantly endeavor to give you exactly what you need. If you need to...

Basic Data Types in Python | Python Web Development For Beginners

In the programming world, Data types play an important role. Each Variable is stored in different data types and responsible for various functions. Python had two different objects, and They are mutable and immutable objects.

Top Python Development Companies | Hire Python Developers

After analyzing clients and market requirements, TopDevelopers has come up with the list of the best Python service providers. These top-rated Python developers are widely appreciated for their professionalism in handling diverse projects. When...

Web Scraping using Selenium and Python

Learn how to scrape the web with Selenium and Python. Learn how you can employ Python and Selenium to scrape modern websites that typically can’t be scraped using traditional methods due to the presence of more advanced technologies such as iframes, JavaScript, and various certificates.