Scrape Youtube by runing this simple bash script
A simple and super fast scraping script That can search youtube and get content
This is a simple script just search what you type and then can scroll and
go to other pages and then select what video you would like to watch.
This script can view youtube thumbnails too
But It is disable default
#To enable this feature just use --image
while running the scripts
Default it uses tiv to show the images
You can change It to any of your favourate cli image viewer
or you can install tiv from here https://github.com/stefanhaustein/TerminalImageViewer
You can view watch history now
Type --help
to kown more about It.
- wget
- youtube-dl
- mpv (Any video player works but you need to add it to the script )
- firejail (sandbox for privacy)
Open a terminal window and just do this:
wget https://raw.githubusercontent.com/alansarkar/Youtube-viewer-Bash-script/master/yt.sh && chmod +x yt.sh && ./yt.sh
And your using the script ...
every detail is explained on each with output while using the script
mostly just run the script and type what ever you want to search and thats it.
- Type anything to search and search again or Enter the number of the video that you want to watch
- press q to quit out of video or the search options
- Enter 'n' to switch through pages
As this is my personal used script I'm just keeping the older scripts which are useless as youtube updates there site.
The old version were actually for Distributions either of old stable repositories or rolling versions of distros