metalx1000

Watch Random Rick and Morty

Sep 6th, 2017
1,489
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.59 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. #youtube-dl and mpv needed
  4. #sudo apt install mpv youtube-dl
  5.  
  6. echo "Getting you a random episode of Rick and Morty..."
  7. echo "Please wait..."
  8.  
  9. #this could be cleaned up a bunch  :)
  10. mpv "$(wget "https://watch-series.co/search.html?keyword=rick%20and%20morty" -q -O-|grep "videoHname"|cut -d\" -f2|while read l;do wget -q -O- "https://watch-series.co$l";done|grep "fb-comments"|cut -d\" -f4|while read line;do wget -q -O- "$line/season";done|grep 'vid_info'|cut -d\" -f4|shuf|tail -n 1|while read url;do wget -q -O- "https://watch-series.co$url";done|grep -i Yourupload|cut -d\" -f6)"
Add Comment
Please, Sign In to add comment