Skip to content

Search and watch youtube videos by just runing this simple bash script

Notifications You must be signed in to change notification settings

alansarkar/Youtube-viewer-Bash-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 

Repository files navigation

Youtube-viewer-Bash-script

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.

Image support

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

Saves Watch history

You can view watch history now
Type --help to kown more about It.

Dependency

  • wget
  • youtube-dl
  • mpv (Any video player works but you need to add it to the script )
  • firejail (sandbox for privacy)

Installation

Easy way

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 ...

Usage

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

older verson folder

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

Releases

No releases published

Packages

No packages published

Languages