This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

find streaming tv URL

0

hello. is it possible to help me find the channel URL from a streaming tv site? the site is http://www.yourtv.to and it is a free site, so i think there is no problem. i want to create a m3u list for xbmc. i tried to find the URL but i can't. the site uses jwplayer. please help me if you can.

asked 05 Apr '14, 00:03

dimitris's gravatar image

dimitris
11112
accept rate: 0%


One Answer:

0

Use the display filter: http.request.method == "GET"

When you select a tv station it will request the URL and set a token cookie. Then it will load jwplayer and download the playlist. If you look at the playlist URL you will notice it requires the token that was previously generated e.g. for ZDF

x://www.yourtv.to/online/live/fernsehen/stream/zdf.html
x://www.yourtv.to/swf/jwplayer.flash.swf?asd
x://31.204.128.190/live/zdf/playlist.m3u8?wmsAuthSign=token

answered 05 Apr '14, 04:05

Roland's gravatar image

Roland
7642415
accept rate: 13%

edited 05 Apr '14, 04:11

thank you for your help. i did not understand exactly what you said. i am trying now to learn how wireshark works. i will tell what i did. i open zdf and then stop the capture. i used the filter you said and found this

1656    43.493092000    192.168.2.4 31.204.128.190  HTTP    548 GET /live/zdf/playlist.m3u8?wmsAuthSign=c2VydmVyX3RpbWU9NC82LzIwMTQgMTA6NDM6MTEgQU0maGFzaF92YWx1ZT1HUUh0RTNrMDlxV3U3Q3N5WDFzMUR3PT0mdmFsaWRtaW51dGVzPTI0MCZpZD01 HTTP/1.1 

then right click/ follow tcp stream and found this text

GET /live/zdf/playlist.m3u8?wmsAuthSign=c2VydmVyX3RpbWU9NC82LzIwMTQgMTA6NDM6MTEgQU0maGFzaF92YWx1ZT1HUUh0RTNrMDlxV3U3Q3N5WDFzMUR3PT0mdmFsaWRtaW51dGVzPTI0MCZpZD01 HTTP/1.1

Host: 31.204.128.190 User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:28.0) Gecko/20100101 Firefox/28.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8 Accept-Language: en-US,en;q=0.5 Accept-Encoding: gzip, deflate Referer: http://www.yourtv.to/swf/jwplayer.flash.swf?asd Connection: keep-alive

HTTP/1.1 200 OK Date: Sat, 05 Apr 2014 11:44:44 GMT Content-Type: application/vnd.apple.mpegurl Accept-Ranges: bytes Server: FlashCom/3.5.7 Cache-Control: no-cache Content-Length: 284

#EXTM3U #EXT-X-VERSION:3 #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=1480959,CODECS="avc1.66.30, mp4a.40.2",RESOLUTION=720x404 chunklist_w1610455686.m3u8?wmsAuthSign=c2VydmVyX3RpbWU9NC82LzIwMTQgMTA6NDM6MTEgQU0maGFzaF92YWx1ZT1HUUh0RTNrMDlxV3U3Q3N5WDFzMUR3PT0mdmFsaWRtaW51dGVzPTI0MCZpZD01

GET /live/zdf/chunklist_w1610455686.m3u8?wmsAuthSign=c2VydmVyX3RpbWU9NC82LzIwMTQgMTA6NDM6MTEgQU0maGFzaF92YWx1ZT1HUUh0RTNrMDlxV3U3Q3N5WDFzMUR3PT0mdmFsaWRtaW51dGVzPTI0MCZpZD01 HTTP/1.1

Host: 31.204.128.190 User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:28.0) Gecko/20100101 Firefox/28.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8 Accept-Language: en-US,en;q=0.5 Accept-Encoding: gzip, deflate Referer: http://www.yourtv.to/swf/jwplayer.flash.swf?asd Connection: keep-alive

HTTP/1.1 200 OK Date: Sat, 05 Apr 2014 11:44:45 GMT Content-Type: application/vnd.apple.mpegurl Accept-Ranges: bytes Server: FlashCom/3.5.7 Cache-Control: no-cache Content-Length: 620

#EXTM3U #EXT-X-VERSION:3 #EXT-X-ALLOW-CACHE:NO #EXT-X-TARGETDURATION:13 #EXT-X-MEDIA-SEQUENCE:1407 #EXTINF:8.08, media_w1610455686_1407.ts?wmsAuthSign=c2VydmVyX3RpbWU9NC82LzIwMTQgMTA6NDM6MTEgQU0maGFzaF92YWx1ZT1HUUh0RTNrMDlxV3U3Q3N5WDFzMUR3PT0mdmFsaWRtaW51dGVzPTI0MCZpZD01 #EXTINF:10.16, media_w1610455686_1408.ts?wmsAuthSign=c2VydmVyX3RpbWU9NC82LzIwMTQgMTA6NDM6MTEgQU0maGFzaF92YWx1ZT1HUUh0RTNrMDlxV3U3Q3N5WDFzMUR3PT0mdmFsaWRtaW51dGVzPTI0MCZpZD01 #EXTINF:12.16, media_w1610455686_1409.ts?wmsAuthSign=c2VydmVyX3RpbWU9NC82LzIwMTQgMTA6NDM6MTEgQU0maGFzaF92YWx1ZT1HUUh0RTNrMDlxV3U3Q3N5WDFzMUR3PT0mdmFsaWRtaW51dGVzPTI0MCZpZD01

GET /live/zdf/media_w1610455686_1407.ts?wmsAuthSign=c2VydmVyX3RpbWU9NC82LzIwMTQgMTA6NDM6MTEgQU0maGFzaF92YWx1ZT1HUUh0RTNrMDlxV3U3Q3N5WDFzMUR3PT0mdmFsaWRtaW51dGVzPTI0MCZpZD01 HTTP/1.1 Host: 31.204.128.190 User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:28.0) Gecko/20100101 Firefox/28.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8 Accept-Language: en-US,en;q=0.5 Accept-Encoding: gzip, deflate Referer: http://www.yourtv.to/swf/jwplayer.flash.swf?asd Connection: keep-alive

HTTP/1.1 200 OK Date: Sat, 05 Apr 2014 11:44:46 GMT Content-Type: video/MP2T Accept-Ranges: bytes Server: FlashCom/3.5.7 Cache-Control: no-cache Content-Length: 1376724

and i tried to make a m3u file so that i can play it on xbmc

http://31.204.128.190/live/zdf/chunklist_w1610455686_1407.ts?wmsAuthSign=c2VydmVyX3RpbWU9NC82LzIwMTQgMTA6NDM6MTEgQU0maGFzaF92YWx1ZT1HUUh0RTNrMDlxV3U3Q3N5WDFzMUR3PT0mdmFsaWRtaW51dGVzPTI0MCZpZD01 pageURL=http://www.yourtv.to/online/live/fernsehen/stream/zdf.html swfURL=http://www.yourtv.to/swf/jwplayer.flash.swf?asd keep-alive

but it does not work. i am probably making something wrong but i dont know what. can you help?

(05 Apr ‘14, 05:18) dimitris

I can’t help you with XBMC.

(05 Apr ‘14, 16:57) Roland