View youtube_video_scraper.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Uncomment code if you're running virtually | |
""" %%capture | |
import sys | |
!pip install selenium | |
#!apt-get update # to update ubuntu to correctly run apt install | |
!apt install chromium-chromedriver | |
!cp /usr/lib/chromium-browser/chromedriver /usr/bin | |
sys.path.insert(0,'/usr/lib/chromium-browser/chromedriver') """ | |
pip install pytube==11.0.1 |
View image_scraper.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Uncomment the code below if running on Google Colab | |
""" %%capture | |
import sys | |
!pip install selenium | |
#!apt-get update # to update ubuntu to correctly run apt install | |
!apt install chromium-chromedriver | |
!cp /usr/lib/chromium-browser/chromedriver /usr/bin | |
sys.path.insert(0,'/usr/lib/chromium-browser/chromedriver') """ |