Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   rtmpdump (http://stream-recorder.com/forum/forumdisplay.php?f=54)
-   -  

how can i download m4a format in gaana

(http://stream-recorder.com/forum/showthread.php?t=23111)

iamsumit 06-23-2017 06:54 AM

Re: how can i download m4a format in gaana


 
Quote:

Originally Posted by j_cool (Post 92236)
httpfox, urlsnooper, hls stream detector, google: url sniffer, something must show the stream url.

If it is rtmp stream and not on default port, this is how to check range of ports:

http://stream-recorder.com/forum/sho...&postcount=110

Well i tried wireshark on saavn (https://www.saavn.com/s/song/hindi/R...al/BVg,RUFhZQU)
and could not sniff the url. I sense the URL the data sent is encrypted. Any ideas how to sniff its URL?
Thanks.

iamsumit 06-23-2017 07:08 AM

Re: how can i download m4a format in gaana


 
Quote:

Originally Posted by j_cool (Post 92236)
httpfox, urlsnooper, hls stream detector, google: url sniffer, something must show the stream url.

If it is rtmp stream and not on default port, this is how to check range of ports:

http://stream-recorder.com/forum/sho...&postcount=110

this is what the blockable links on ad-blocker gives me -

Code:

https://aa.cf.saavncdn.com/690/TCCD11234_01_002_64.mp3?Expires=1498222671&Signature=VIBmqsToAHDVNi5WUTJv--S9yQIxvBEH1HsAXmfD~B4Dhqjt5ph-8MlePnic~4su-P9IDum5n~EOawMHJ55xVu98Yj0O66jgoOmuOTPG4Od040LMdIDA6XX-N93NZQX19-bzXalHXkLA9NbMolj7jhmW1ghOl1952S20-Km9Hj-zkL1JRgrO1OJ~3YECpcemqKXjF2JePtIhJSIRVpWK8icHA6YVpfHvnBjaPZukBQ99~IGn94evTkvFTePy2gmRO6ZhCSQot1QP9M3CwNI4qJ5qW5CqSmDQ2nr1pqA2dpCYwIPXhPEgKGzdT0RE-coz8FcJK4v2p1Bn6trQ20cI1w__&Key-Pair-Id=APKAJB334VX63D3WJ5ZQ
How to download this?

j_cool 06-23-2017 07:12 AM

Re: how can i download m4a format in gaana


 
You seem to be quicker than me.

I got url with httpfox:

Code:

https://aa.cf.saavncdn.com/017/SONY_886446600017_01_001_64.mp3?Expires=1498223294&Signature=hZ3TsfzaWmgU8rZnRqvqqVv9TeV9qPil7J5HFuESbw28sPycH49qheiP5CY2IgvYfHc3ESM4tYQmtmbMashYxNaOxtDzDIWzglw8fqYpWhsalyw2xIhkxMmQmAZXr8R9PMx3QCMtsOr3IeS~gWngCA6SDRHr--weJSozDY1WU9cm1nBj2M5OwCuKQFLIWLGkBtS2OKJVHSe8KfzStg4EZLt~PedNknz7nn8WCaw98BWdcdmGdi4e-5cZuIFs7OKaTaSWpdvbTAJ-lkdJPQW-mA~q3n0fEEjRliH-Aocgq-PkWQ-A7JKxDGONlCBf-5~qbmzW~svgSc6-2mpbJ321RA__&Key-Pair-Id=APKAJB334VX63D3WJ5ZQ
Maybe sending them cookie stuff back, referer.. changing user agent or asking streamlink team.

sysanin is good with these types of stream, but you have to be quick to see his reply if he replies,
he deletes his replies shortly afterwards.

iamsumit 06-23-2017 07:28 AM

Re: how can i download m4a format in gaana


 
Oh thanks.

I tried sending a PM to sysanin but he seems to have chosen not to receive PMs.

Any other way i can reach him or any other contact person who can decipher this URL?

iamsumit 06-23-2017 07:33 AM

Re: how can i download m4a format in gaana


 
I have used referer and user agent before. but in regex format as below. Not sure how i can tailor it to download from a browser or command prompt.

Quote:

<item>
<title>Sky RTMP Token Hard Test Regex</title>
<link>rtmp://185.63.255.60:80/live playpath=$doregex[getplaypath] pageURL=http://rocktv.co/embedo.php?live=$doregex[getplaypath]&vw=620&vh=480 swfUrl=http://p.jwpcdn.com/6/12/jwplayer.flash.swf token=%Zrey(nKa@#Z conn=S:OK swfVfy=1 timeout=15 live=true</link>
<regex>
<name>getplaypath</name>
<expres>fid='(.*?)'<expres>
<page>http://sports4u.tv/embed/sky2.php?width=620&height=480</page>
<referer>http://live.sports4u.tv/channel/sky-sports-2</referer>
<agent>Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_0 like Mac OS X; en-us) AppleWebKit/528.18 (KHTML, like Gecko) Version/4.0 Mobile/7A341 Safari/528.16</agent>
<cookieJar></cookieJar>
</regex>
</item>

j_cool 06-23-2017 07:38 AM

Re: how can i download m4a format in gaana


 
using streamlink.

follow my posts on this forum and you'll find how to do it with streamlink.

click on user, Find all posts by ..

This can be done with youtube-dl as well, reading help file how..

https://github.com/streamlink/streamlink/issues

iamsumit 06-23-2017 08:20 AM

Re: how can i download m4a format in gaana


 
Quote:

Originally Posted by j_cool (Post 92242)
using streamlink.

follow my posts on this forum and you'll find how to do it with streamlink.

click on user, Find all posts by ..

This can be done with youtube-dl as well, reading help file how..

https://github.com/streamlink/streamlink/issues

I installed streamlink. I was still livestreamer, which ws an outdated version from which streamlink was forked.

Code:

streamlink.exe --http-header "User-Agent=Mozilla/5.0 (iPad; U; CPU OS 4_2_1 like Mac OS X)" "hlsvariant://https://aa.cf.saavncdn.com/017/SONY_886446600017_01_001_64.mp3?Expires=1498227223&Signature=R-2DfRXUzQ6eUDDS6mI7BTuS~7WB52Xj~kSnTa6Gh0jEr6bY~1yc3Yd9j4w45qeFH1D~TiYAFh5PJ5kKr6T-iJHyrsqD315762UWeByqVxK40RmvQIpT9u-AJRtVRCvNJE~vL58QcUc5Nm-ZJdGvCHXQWUEv53Aa5ZvyMLCE~i~98EFsbk9tMW6TPQyV3vpVjBQl12wVTT30innu1MWEsVhEDkimHX-xeIr8a-m84MVxvrPTg5ppjrXbZEiqQ-z8BLAeC9ZseG~xoU~beRHoj6Q7QoD7TtnuJpzo09sure9y3Sf3QU5R8kNGfmkL8N7iGgG01~i9MxjJgSnmjCKsBg__&Key-Pair-Id=APKAJB334VX63D3WJ5ZQ"
But it says unble to open URL.

Going to read your other posts to see where i am going wrong.
If you see an error/issue in the command, let me know. Thanks.

Yelloworanges 06-23-2017 08:22 AM

Re: how can i download m4a format in gaana


 
Code:

http://h.saavncdn.com/017/SONY_886446600017_01_001_320.mp3

j_cool 06-23-2017 10:10 AM

Re: how can i download m4a format in gaana


 
streamlink syntax should look like this, but does not matter in this case.

streamlink.exe --http-header %header% hls://%url% best

I get 403-forbidden with streamlink, youtube-dl, and ffmpeg.

Yelloworanges's url works so it has something to do with url.

http://h.saavncdn.com/017/SONY_88644...01_001_320.mp3

Code:

ffmpeg -i http://h.saavncdn.com/017/SONY_886446600017_01_001_320.mp3 -c copy test.mp3
Code:

ffmpeg version 3.3.1 Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 6.3.0 (GCC)
  configuration: --enable-gpl --enable-version3 --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-zlib
  libavutil      55. 58.100 / 55. 58.100
  libavcodec    57. 89.100 / 57. 89.100
  libavformat    57. 71.100 / 57. 71.100
  libavdevice    57.  6.100 / 57.  6.100
  libavfilter    6. 82.100 /  6. 82.100
  libswscale      4.  6.100 /  4.  6.100
  libswresample  2.  7.100 /  2.  7.100
  libpostproc    54.  5.100 / 54.  5.100
Input #0, mp3, from 'http://h.saavncdn.com/017/SONY_886446600017_01_001_320.mp3':
  Metadata:
    encoder        : Lavf57.51.102
  Duration: 00:03:50.14, start: 0.025057, bitrate: 320 kb/s
    Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16p, 320 kb/s
    Metadata:
      encoder        : Lavc57.60
Output #0, mp3, to 'test.mp3':
  Metadata:
    TSSE            : Lavf57.71.100
    Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16p, 320 kb/s
    Metadata:
      encoder        : Lavc57.60
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
size=    8991kB time=00:03:50.08 bitrate= 320.1kbits/s speed=  44x
video:0kB audio:8990kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.011830%


iamsumit 06-23-2017 10:16 AM

Re: how can i download m4a format in gaana


 
Thank you both of you.

This so very very much appreciated.

Cheers.


All times are GMT -6. The time now is 06:51 PM.