Guest User

noetv stream

a guest
Dec 21st, 2012
229
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/bash
  2. URL1=`wget http://www.tvnoe.cz/zive-pres-internet.html -O - -q | grep "<iframe src=\"/res/data" | cut -d '"' -f2`
  3. UUID=`wget http://www.tvnoe.cz${URL1} -O - -q | grep "prepareSmart" | cut -d '"' -f 4`
  4. URL2=`wget -U "Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20100101 Firefox/17.0" -q -O - --cookies=on --keep-session-cookies --save-cookies=/tmp/cookie.txt "http://vueasy.com/Smart/GetSmartPageJsonp?assetId=${UUID}&callback=aaa" | sed -e 's/[{}]/''/g' | awk -v k="text" '{n=split($0,a,","); for (i=1; i<=n; i++) print a[i]}' | sed 's/\\\\//g' | grep '"PlaylistLink"' | cut -d'"' -f 4`
  5. URL3=`wget -U "Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20100101 Firefox/17.0" -q -O - --cookies=on --keep-session-cookies --save-cookies=/tmp/cookie.txt "${URL2}" | grep "rtmp:" | cut -d'>' -f2 | cut -d'<' -f 1`
  6. URL4=`wget -U "Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20100101 Firefox/17.0" -q -O - --cookies=on --keep-session-cookies --save-cookies=/tmp/cookie.txt "${URL2}" | grep url | head -n1 | cut -d'"' -f8`
  7. vlc "${URL3}/${URL4}"
RAW Paste Data