Skip to content

πŸ›ΈπŸ‘½ They ❀ scrape photos from Instagram && youtube

Notifications You must be signed in to change notification settings

otolaa/selenium_parsing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

14 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸŽ₯ Selenium parser instagram && youtube

selenium parsing for instagram && youtube in Windows or Linux (geckodriver.exe is driver Firefox)

Installing Selenium-WebDriver for Python

# 1 - update
pip3 install --upgrade pip
# 2 - terminal Windows, Linux or Mac
pip3 install selenium
# 3 - Installing the geckodriver driver for Firefox Selenium
# Download geckodriver for Linux, Windows and Mac https://github.com/mozilla/geckodriver/releases/
# Installing geckodriver on Ubuntu, Debian and ArchLinux 
wget https://github.com/mozilla/geckodriver/releases/download/v0.29.1/geckodriver-v0.29.1-linux64.tar.gz
tar -xvzf geckodriver*
sudo chmod +x geckodriver
sudo mv geckodriver /usr/local/bin/

πŸ“· Program start /instagram_parser.py

return photos for instagram.com/nasa/

/instagram_parser.py  # main scroll for scrapp
/parsing  # all folders accounts 
/parsing/nasa/images # the folder photo
/parsing/nasa/alt_url.json  # it's json photo list

69 photos

πŸ›ΈπŸ‘½ parsing example instagram.com/nasa/

Photo by NASA on September 10, 2021.

Photo by NASA on September 10, 2021.

Photo shared by NASA on July 31, 2021 tagging @nasasolarsystem. May be an image of planet.

Photo shared by NASA on July 31, 2021 tagging @nasasolarsystem. May be an image of planet.

πŸš— parsing example instagram.com/teslamotors/

/parsing/teslamotors/images # the folder photo

teslamotors photos

Photo by Tesla on April 15, 2021. May be an image of outdoors.

Photo by Tesla on April 15, 2021. May be an image of outdoors.

πŸ“·: @evoluciontesla

evoluciontesla

πŸ“Ί Program start /youtube_parser.py

selenium parsing for youtube

/youtube_parser.py  # main scroll for scrapp
/youtube  # all folders accounts 
/youtube/zaemiel/images # the folder photo
/youtube/zaemiel/video.json  # it's json photo list

🐍 parsing example youtube.com/user/zaemiel/videos

youtube/zaemiel/video.json
youtube/zaemiel/images/

Python ООП

About

πŸ›ΈπŸ‘½ They ❀ scrape photos from Instagram && youtube

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages