VideoHelp Forum

Our website is made possible by displaying online advertisements to our visitors. Consider supporting us by disable your adblocker or try DVDFab and copy, convert or make Blu-rays and DVDs! :)
+ Reply to Thread
Results 1 to 5 of 5
Thread
  1. Hi I am trying to save some videos from gyao.yahoo.co.jp.
    Some times when using livestreamer I get an error 403 Client Error: Forbidden.
    Is there any way to get around this type of error?
    An example url I have used is https://gw.gyao.yahooapis.jp/v1/auth_hls/00189:v04459:v1000000000000001646/variant.m3u...DW6KyRr1Zw3rI-
    However the url is probably no longer valid at this time.
    Any help is appreciated.
    Quote Quote  
  2. Member nullacht's Avatar
    Join Date
    Jun 2013
    Location
    On The Run.
    Search PM
    It should work with FFMPEG:

    Code:
    http://gyao.yahoo.co.jp/player/00998/v00311/v0000000000000000822/
    Code:
    https://gw.gyao.yahoo.co.jp/v1/hls/00998:v00311:v0000000000000000822/variant.m3u8?device_type=1100&delivery_type=2&min_bandwidth=246&appkey=52hd8q-XnozawaXc727tmojaFD.SD1yc&appid=ff_rbJCxg67.bRk_lk7CbWFjhorGVKjvFsRgiLDHW4PE.vN6zxDW6KyRr1Zw3rI-
    Code:
    ffmpeg -i "https://gw.gyao.yahoo.co.jp/v1/hls/00998:v00311:v0000000000000000822/variant.m3u8?device_type=1100&delivery_type=2&min_bandwidth=246&appkey=52hd8q-XnozawaXc727tmojaFD.SD1yc&appid=ff_rbJCxg67.bRk_lk7CbWFjhorGVKjvFsRgiLDHW4PE.vN6zxDW6KyRr1Zw3rI-" -c copy 01.ts
    Code:
    Input #0, hls,applehttp, from 'https://gw.gyao.yahoo.co.jp/v1/hls/00998:v00311:v0000000000000000822/variant.m3u8?device_type=1100&delivery_type=2&min_bandwidth=246&appkey=52hd8q-XnozawaXc727tmojaFD.SD1yc&appid=ff_rbJCxg67.bRk_lk7CbWFjhorGVKjvFsRgiLDHW4PE.vN6zxDW6KyRr1Zw3rI-':
      Duration: 01:57:39.65, start: 1.443511, bitrate: N/A
      Program 0
        Metadata:
          variant_bitrate : 568000
        Stream #0:0: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 640x360 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
        Metadata:
          variant_bitrate : 568000
        Stream #0:1: Audio: aac (LC) ([15][0][0][0] / 0x000F), 44100 Hz, stereo, fltp, 74 kb/s
        Metadata:
          variant_bitrate : 568000
      Program 1
        Metadata:
          variant_bitrate : 1642000
        Stream #0:2: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 854x480 [SAR 1280:1281 DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
        Metadata:
          variant_bitrate : 1642000
        Stream #0:3: Audio: aac (LC) ([15][0][0][0] / 0x000F), 44100 Hz, stereo, fltp, 148 kb/s
        Metadata:
          variant_bitrate : 1642000
    Output #0, mpegts, to '01.ts':
      Metadata:
        encoder         : Lavf56.31.100
        Stream #0:0: Video: h264 ([27][0][0][0] / 0x001B), yuv420p, 854x480 [SAR 1280:1281 DAR 16:9], q=2-31, 29.97 fps, 29.97 tbr, 90k tbn, 29.97 tbc
        Metadata:
          variant_bitrate : 1642000
        Stream #0:1: Audio: aac ([15][0][0][0] / 0x000F), 44100 Hz, stereo, 74 kb/s
        Metadata:
          variant_bitrate : 568000
    Stream mapping:
      Stream #0:2 -> #0:0 (copy)
      Stream #0:1 -> #0:1 (copy)
    Quote Quote  
  3. Member nullacht's Avatar
    Join Date
    Jun 2013
    Location
    On The Run.
    Search PM
    Livestreamer:

    Code:
    livestreamer "hlsvariant://https://gw.gyao.yahoo.co.jp/v1/hls/00998:v00311:v0000000000000000822/variant.m3u8?device_type=1100&delivery_type=2&min_bandwidth=246&appkey=52hd8q-XnozawaXc727tmojaFD.SD1yc&appid=ff_rbJCxg67.bRk_lk7CbWFjhorGVKjvFsRgiLDHW4PE.vN6zxDW6KyRr1Zw3rI-" best --http-no-ssl-verify -o 01.ts
    Code:
    [cli][info] Found matching plugin stream for URL hlsvariant://https://gw.gyao.yahoo.co.jp/v1/hls/00998:v00311:v0000000000000000822/variant.m3u8?device_type=1100&delivery_type=2&min_bandwidth=246&appkey=52hd8q-XnozawaXc727tmojaFD.SD1yc&appid=ff_rbJCxg67.bRk_lk7CbWFjhorGVKjvFsRgiLDHW4PE.vN6zxDW6KyRr1Zw3rI-
    [cli][info] Available streams: 1642k (best), 568k (worst)
    [cli][info] Opening stream: 1642k (hls)
    Quote Quote  
  4. Thank you for replying and helping. I tried using the ffmpeg command you suggested but I got a 401 Unauthorized (authorization failed) error. I also tried the livestreamer command that you suggested and still receive the 403 Client error: Forbidden.
    I think the stream that I am trying to download requires user account verification and will not allow viewing without it. I tried using livestreamer --http-cookie Key= option with a few cookie values that I saw in firefox and was still not able to save the video. I think at the moment my only option would be to screen capture it but my internet connection is too slow to play it with out buffering. I have tried other programs to download the video such as getflv adownloader atubecatcher videodownloadhelper streamtransport and jaksta but none of them were able to download the video. I created a plugin request for livestreamer for gyao. Hopefully a plugin will get created. Thanks again for helping.
    Quote Quote  
  5. Hi jiffykornn ,

    From the link given :
    Code:
    livestreamer "hlsvariant://https://gw.gyao.yahoo.co.jp/v1/hls/00998:v00311:v0000000000000000822/variant.m3u8?device_type=1100&delivery_type=2&min_bandwidth=246&appkey=52hd8q-XnozawaXc727tmojaFD.SD1yc&appid=ff_rbJCxg67.bRk_lk7CbWFjhorGVKjvFsRgiLDHW4PE.vN6zxDW6KyRr1Zw3rI-" best --http-no-ssl-verify -o 01.ts
    Create a new command to get a .txt file => gyao_01.txt
    Code:
    livestreamer "httpstream://https://gw.gyao.yahoo.co.jp/v1/hls/00998:v00311:v0000000000000000822/variant.m3u8?device_type=1100&delivery_type=2&min_bandwidth=246&appkey=52hd8q-XnozawaXc727tmojaFD.SD1yc&appid=ff_rbJCxg67.bRk_lk7CbWFjhorGVKjvFsRgiLDHW4PE.vN6zxDW6KyRr1Zw3rI-" best --http-no-ssl-verify -o gyao_01.txt
    Open that file
    Code:
    #EXTM3U
    #EXT-X-STREAM-INF:BANDWIDTH=568000,PROGRAM-ID=1
    /v1/hls/b4A9sBKnfHMTxHwj_UHLw.0c8O2fMMHWpFgXqRqX4ZlQrufhsSyVRaoV2HXL72OoHSzvMKj5.m3u8?appid=ff_rbJCxg67.bRk_lk7CbWFjhorGVKjvFsRgiLDHW4PE.vN6zxDW6KyRr1Zw3rI-
    #EXT-X-STREAM-INF:BANDWIDTH=1642000,PROGRAM-ID=1
    /v1/hls/WaueRdCnfHMBt4agrzDiCqaKeLgepkGLgO67HyusqHTsmZ6GaYDW4zRZRTBaBknA9.ckFhWe0g--.m3u8?appid=ff_rbJCxg67.bRk_lk7CbWFjhorGVKjvFsRgiLDHW4PE.vN6zxDW6KyRr1Zw3rI-
    Selected the line ( for BANDWIDTH=568000 , for my try )
    Code:
    /v1/hls/b4A9sBKnfHMTxHwj_UHLw.0c8O2fMMHWpFgXqRqX4ZlQrufhsSyVRaoV2HXL72OoHSzvMKj5.m3u8?appid=ff_rbJCxg67.bRk_lk7CbWFjhorGVKjvFsRgiLDHW4PE.vN6zxDW6KyRr1Zw3rI-
    Melt
    Code:
    https://gw.gyao.yahoo.co.jp "and" /v1/hls/b4A9sBKnfHMTxHwj....vN6zxDW6KyRr1Zw3rI-
    Here below the command line ( and the running process )
    Code:
    livestreamer "hls://https://gw.gyao.yahoo.co.jp/v1/hls/b4A9sBKnfHMTxHwj_UHLw.0c8O2fMMHWpFgXqRqX4ZlQrufhsSyVRaoV2HXL72OoHSzvMKj5.m3u8?appid=ff_rbJCxg67.bRk_lk7CbWFjhorGVKjvFsRgiLDHW4PE.vN6zxDW6KyRr1Zw3rI-" best --http-no-ssl-verify -o gyao_01.ts
    
    [cli][info] Found matching plugin stream for URL hls://https://gw.gyao.yahoo.co.jp/v1/hls/b4A9sBKnfHMTxHwj_UHLw.0c8O2fMMHWpFgXqRqX4ZlQrufhsSyVRaoV2HXL72OoHSzvMKj5.m3u8?appid=ff_rbJCxg67.bRk_lk7CbWFjhorGVKjvFsRgiLDHW4PE.vN6zxDW6KyRr1Zw3rI-
    [cli][info] Available streams: live (worst, best)
    [cli][info] Opening stream: live (hls)
    [download][gyao_01.ts] Written 3.4 MB (43s @ 80.6 KB/s)
    ...
    Cheers .
    JE SUIS CHARLIE !!!
    Quote Quote  



Similar Threads