Skip to content

Latest commit

 

History

History
44 lines (33 loc) · 1.54 KB

README.md

File metadata and controls

44 lines (33 loc) · 1.54 KB

WebscrapingInstagram with Selenium


This Repository contains a collection of notebooks related to Instagram web scraping and automation.

CURRENT VERSION (THUMBNAIL EXTRACTION)

Please refer to WebscrapingInstagram_completeUpdated_DEC2022.ipynb.
This file showcases the updated Selenium commands, which have changed from the moment of filming my YouTube tutorial and now.
FYI, in the new version of Selenium, commands of this syntax:

driver.find_elements_by_tag_name("input")

were replaced with commands of that syntax:

driver.find_elements(By.TAG_NAME, "input")

CURRENT VERSION (IMAGE EXTRACTION)

Please refer to ImageExtracting_Updated-DEC2022.ipynb.
This file includes new Selenium syntax, Fixes to scrolling issues and a more efficient keyword search.

OLD VERSIONS

PLEASE NOTE: the notebooks below were not updated to the current Selenium syntax!!!

  • WebscrapingInstagram_completeNotebook: contained 90% automated code for extracting Instagram Thumbnails

  • ImageExtracting_bot: contains a 100% automated code for extracting Instagram Images
    as well as ERROR FIXES and WIDER FUNCTIONALITY
    must be adjusted to the new Selenium syntax.

  • Commenting_bot: contains a 100% automated code for commenting on all photos from a certain hashtag.