Skip to content

Web Scraping Instagram photos with Selenium by only using a hashtag.

Notifications You must be signed in to change notification settings

Sandreke/Web-Scraping-Instagram

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 

Repository files navigation

Web-Scraping-Instagram

This project is used to automatically obtain images by web scraping Instagram 📷 with Selenium in Python 🐍.

The required input will only be a hashtag, in this case, Clairo 🎤 will be used as an example to show the step-by-step process, since we do not know which Instagram pages contain Clairo's images.

In this way, the workflow will be to log into Instagram 📷, avoid alerts, search for the hashtag, obtain the links of the posts that contain the hashtag, obtain the profiles that published these posts (because there are pages that publish especially about a certain person or thing in general), obtain the links of the posts of these profiles, obtain the links of the images within the post and, finally, download and save the images in a certain directory.

Video Demo

https://www.instagram.com/p/CYjnJl0hrnH/

Video_Demo_Web_Sraping_Instagram.mp4

Original post

https://www.linkedin.com/feed/update/urn:li:activity:6886675565621895168/

About

Web Scraping Instagram photos with Selenium by only using a hashtag.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published