vlc links

Added by Buksa Noob about 1 year ago

can showtine handle link like this

http/ts://102.22.34.56:8000/?ticket=W4z3WFdoSRnMMXHgYFq...md4ZGtVyT6mjgqGZk%3D :http-caching=2000 :no-http-reconnect


Replies (7)

RE: vlc links - Added by t k 11 months ago

How I can open this link? Maybe "http://102.22.34.56:8000/?ticket=W4z3WFdoSRnMMXHgYFq...md4ZGtVyT6mjgqGZk%3D"?

RE: vlc links - Added by t k 11 months ago

And how can I play *.m3u8 playlist? If it possible.

RE: vlc links - Added by Buksa Noob 11 months ago

yes you can slice link
link = link.replace('/ts:/', ':/');
link = link.split(" :");
link = link[0];

i try make plugin for sovok but not all stream works
some of them get error 403 i think we need make right request

RE: vlc links - Added by t k 11 months ago

Buksa Noob wrote:

i try make plugin for sovok but not all stream works
some of them get error 403 i think we need make right request

I think problem is in HTTP headers of showtime, because if I paste link in Chrome, downloading starting. And if I try open this link in VLC, I see video.

Any ideas?

ps. same, i try make plugin for kartinaTV.

RE: vlc links - Added by t k 11 months ago

Ok, headers is different. But what the header we need?

ShowTime:

HEAD /?ticket=JpdJzZI717DJlb8SydYdE6an4uKL74XlvEvFBbXQtKoVMOF%2FKGMR%2FlZEQNIdGezDk1hpvSNdMA2xZuedIvz%2Fch1yDJOH17WxZcsavdNAC18LYEm2Tah5kaKuGWON8zCsNWqcR7VXa5PlheSRCzDlv1hPQ1us5psfpntLQtHKciw%3D HTTP/1.1
User-Agent: Showtime Linux/i386 3.99.43.g31afd
Connection: keep-alive
Accept-Encoding: identity
Host: 91.224.187.72:18007

HTTP/1.0 403 Forbidden
Content-Type: text/plain

Forbidden

Google Chrome:

GET /?ticket=JpdJzZI717DJlb8SydYdE6an4uKL74XlvEvFBbXQtKoVMOF%2FKGMR%2FlZEQNIdGezDk1hpvSNdMA2xZuedIvz%2Fch1yDJOH17WxZcsavdNAC18LYEm2Tah5kaKuGWON8zCsNWqcR7VXa5PlheSRCzDlv1hPQ1us5psfpntLQtHKciw%3D HTTP/1.1
Host: 91.224.187.72:18007
Connection: keep-alive
User-Agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.47 Safari/536.11
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8,ru;q=0.6,fi;q=0.4
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

HTTP/1.0 200 OK
Content-type: application/octet-stream
Cache-Control: no-cache

G.E....;.j...]p..f..[..

VLC:

GET /?ticket=K3LHcuOs05Mh8ufXODIPO4gAJB137rooGefqEyvkZYz1a9P4TPklGpJ6aWMl2HjIA6Y%2FFbJqNAWFHmq0PH5jKoN8H9w5XN1IdvoJAbY4x1on0Up8KbU0kVLnT6HKZyoP7Unooi14sIWugtQ01gocGJJBmncwRqU%2BxqfBUbJ7X1s%3D HTTP/1.1
Host: 91.224.187.72:18099
User-Agent: vlc/1.1.9
Range: bytes=0-
Icy-MetaData: 1

HTTP/1.0 200 OK
Content-type: application/octet-stream
Cache-Control: no-cache

G.E.&.k........G2.
.....
.r...V..~..N.l.* ..3~..n..OH.....k.N4...g%...H.....b.*......f..=........v.RTj...%.I...I.%&.?......r..Z..i.BJ.#0.&s/.[....~..9.G.j5;5.C*;..._|.k(....C....L.6...+...G.E.:....G...n..).?....*UK......6.t.h..<.
...:.QZ-...\......X..........q;..6.......'4.O.....XqUK.7....../...R.........{...T..C.......;0w.i;...xe.........<.b......f....CFO...h#...NR.w~P....G.E.

RE: vlc links - Added by Buksa Noob 11 months ago

just try send same header as Google Chrome
httpGet(String URL, [Object QueryArgs], [Object Headers], [Object Control])
ps:
did you have account on pristavka.de or you can reach me at IRC channel on efnet

(1-7/7)