VideoHelp Forum

+ Reply to Thread
Results 1 to 18 of 18
Thread
  1. Does anyone know what kind of protection RaiPlay uses ? I tried all possible tools, streamlink, ffmpeg, raiplay-dl, yt-dlp, none of them seem to work. Yes, I am in Italy with a valid Italian IP and I can view the show just fine in the browser.

    It's this show, apparently RaiPlay is the only place with the Italian-dubbed version which I really like:

    https://www.raiplay.it/programmi/foodielove
    Quote Quote  
  2. DRM.
    Need access.
    Last edited by LZAA; 24th Nov 2021 at 17:00.
    Quote Quote  
  3. Member
    Join Date
    Jan 2019
    Location
    hawaii
    Search PM
    key
    Code:
    889313faa7d543a8a1bf570d7f2044bd:6599997083dbfd7eb26a539c586b6126
    no time now to test it how to download
    Last edited by lomero; 25th Nov 2021 at 03:09.
    Quote Quote  
  4. I couldn't get this thing to run, but try this, it might download.
    https://github.com/xhlove/XstreamDL-CLI
    Quote Quote  
  5. Originally Posted by [ss]vegeta View Post
    I couldn't get this thing to run, but try this, it might download.
    https://github.com/xhlove/XstreamDL-CLI
    Thanks. How would I pass it my authentication information ? That link isn't available on RaiPlay unless I authenticate
    Quote Quote  
  6. Originally Posted by ajones219 View Post
    Thanks. How would I pass it my authentication information ? That link isn't available on RaiPlay unless I authenticate
    Use developer tools, network tab to get the mpd/ism link.
    That link is accessible without authentication.
    Pass that link to Xstream, don't pass the normal link.
    Quote Quote  
  7. Thanks, I already had those. The MPD file is https://dashaz-dc-euwe.akamaized.net/subtl_proxy/840d290b-b1ba-4b27-839d-992374536941/...1200-2400).mpd

    but when I try putting it in that script it errors out as below. I tried with the key lomero posted above and without it, same error:


    c:\rai2>C:\Users\dev\AppData\Local\Programs\Python \Python39\python.exe -m XstreamDL_CLI.cli --key 889313faa7d543a8a1bf570d7f2044bd:6599997083dbfd7eb 26a539c586b6126
    Paste your URL/FILE/FOLDER string at the end of commands, plz.

    Ctrl C to exit or input here:https://dashaz-dc-euwe.akamaized.net/subtl_proxy/840d290b-b1ba-4b27-839d-992374536941/...1200-2400).mpd
    2021-11-24 18:54:48,387 XstreamDL log.py 41 : INFO log file -> C:/rai2/logs/XstreamDL-2021-11-24_185448.log

    2021-11-24 18:54:48,392 XstreamDL cli.py 152 : INFO set URI to ['https://dashaz-dc-euwe.akamaized.net/subtl_proxy/840d290b-b1ba-4b27-839d-992374536941/20210203162140_13931974.ism/manifest(format=mpd-time-csf,filter=medium_1200-2400).mpd']
    Traceback (most recent call last):
    File "C:\Users\dev\AppData\Local\Programs\Python\Python 39\lib\runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
    File "C:\Users\dev\AppData\Local\Programs\Python\Python 39\lib\runpy.py", line 87, in _run_code
    exec(code, run_globals)
    File "c:\rai2\XstreamDL_CLI\cli.py", line 160, in <module>
    main()
    File "c:\rai2\XstreamDL_CLI\cli.py", line 154, in main
    daemon.daemon()
    File "c:\rai2\XstreamDL_CLI\daemon.py", line 30, in daemon
    streams = extractor.fetch_metadata(self.args.URI[0])
    File "c:\rai2\XstreamDL_CLI\extractor.py", line 48, in fetch_metadata
    return self.raw2streams('url', *loop.run_until_complete(self.fetch(uri)), parent_stream)
    File "c:\rai2\XstreamDL_CLI\extractor.py", line 95, in raw2streams
    return self.parse_as_dash(uri_type, uri, content, parent_stream)
    File "c:\rai2\XstreamDL_CLI\extractor.py", line 127, in parse_as_dash
    streams = self.parser.parse(uri, content)
    File "c:\rai2\XstreamDL_CLI\extractors\dash\parser. py", line 132, in parse
    return self.walk_period(mpd, uri_item.new_base_url(base_url))
    File "c:\rai2\XstreamDL_CLI\extractors\dash\parser. py", line 149, in walk_period
    _streams = self.walk_adaptationset(period, len(streams), uri_item.new_base_url(base_url))
    File "c:\rai2\XstreamDL_CLI\extractors\dash\parser. py", line 177, in walk_adaptationset
    _streams = self.walk_representation(adaptationset, period, sindex + len(streams), current_uri_item)
    File "c:\rai2\XstreamDL_CLI\extractors\dash\parser. py", line 236, in walk_representation
    self.walk_segmenttemplate(representation, period, stream)
    File "c:\rai2\XstreamDL_CLI\extractors\dash\parser. py", line 294, in walk_segmenttemplate
    self.generate_v1(period, representation.id, segmenttemplates[0], stream)
    File "c:\rai2\XstreamDL_CLI\extractors\dash\parser. py", line 401, in generate_v1
    interval = float(int(st.duration) / int(st.timescale))
    ZeroDivisionError: division by zero
    Quote Quote  
  8. Originally Posted by ajones219 View Post
    The MPD file is
    Code:
    https://dashaz-dc-euwe.akamaized.net/subtl_proxy/840d290b-b1ba-4b27-839d-992374536941/20210203162140_13931974.ism/manifest(format=mpd-time-csf,filter=medium_1200-2400).mpd
    The bitrate filter can be removed from the mpd url, leaving;
    Code:
    https://dashaz-dc-euwe.akamaized.net/subtl_proxy/840d290b-b1ba-4b27-839d-992374536941/20210203162140_13931974.ism/manifest(format=mpd-time-csf).mpd
    For some reason, I get the following error with yt-dlp, regardless of the switches used;
    Code:
    ERROR: An extractor error has occurred. (caused by KeyError('s')); please report this issue on  https://github.com/yt-dlp/yt-dlp. Make sure you are using the latest version; see  https://github.com/yt-dlp/yt-dlp  on how to update. Be sure to call yt-dlp with the --verbose flag and include its complete output.
    However, an old patched version of youtube-dl works fine;

    Code:
    I:\youtube-dl-mod "https://dashaz-dc-euwe.akamaized.net/subtl_proxy/840d290b-b1ba-4b27-839d-992374536941/20210203162140_13931974.ism/manifest(format=mpd-time-csf).mpd" -F
    [generic] manifest_1631345527812: Requesting header
    WARNING: Falling back on generic information extractor.
    [generic] manifest_1631345527812: Downloading webpage
    [generic] manifest_1631345527812: Extracting information
    [info] Available formats for manifest_1631345527812:
    format code      extension  resolution note
    5_A_audio_ita_1  m4a        audio only [Italiano] DASH audio  189k , m4a_dash container, mp4a.40.2 (44100Hz)
    5_A_audio_vor_1  m4a        audio only [V.O.] DASH audio  189k , m4a_dash container, mp4a.40.2 (44100Hz)
    1_V_video_1      mp4        736x414    DASH video 1199k , mp4_dash container, avc1.4D401F, 25fps, video only
    1_V_video_4      mp4        1024x576   DASH video 1799k , mp4_dash container, avc1.4D401F, 25fps, video only
    1_V_video_5      mp4        1280x720   DASH video 2399k , mp4_dash container, avc1.4D4028, 25fps, video only
    1_V_video_2      mp4        1440x810   DASH video 3599k , mp4_dash container, avc1.4D4029, 25fps, video only
    1_V_video_3      mp4        1920x1080  DASH video 4999k , mp4_dash container, avc1.640033, 25fps, video only (best)
    
    I:\youtube-dl-mod "https://dashaz-dc-euwe.akamaized.net/subtl_proxy/840d290b-b1ba-4b27-839d-992374536941/20210203162140_13931974.ism/manifest(format=mpd-time-csf).mpd" --fixup never -f 5_A_audio_ita_1 -o I:\5_A_audio_ita_1.m4a
    [generic] manifest_1631345527812: Requesting header
    WARNING: Falling back on generic information extractor.
    [generic] manifest_1631345527812: Downloading webpage
    [generic] manifest_1631345527812: Extracting information
    [dashsegments] Total fragments: 972
    [download] Destination: I:\5_A_audio_ita_1.m4a
    [download]   3.1% of ~44.35MiB at 124.12KiB/s ETA 10:44
    Quote Quote  
  9. Where can I get that version ? Is the downloaded file encrypted ?
    Quote Quote  
  10. Originally Posted by ajones219 View Post
    Where can I get that version ?
    Someone will probably refer you to a source. If not, post again later.

    Originally Posted by ajones219 View Post
    Is the downloaded file encrypted ?
    Yes, but see post #3 of this thread.
    Quote Quote  
  11. It seems that yt-dlp may work if the mpd url is adjusted, removing the "subtl_proxy" part of the url;

    Code:
    https://dashaz-dc-euwe.akamaized.net/840d290b-b1ba-4b27-839d-992374536941/20210203162140_13931974.ism/manifest(format=mpd-time-csf).mpd
    Command line to list sources;
    Code:
    yt-dlp "https://dashaz-dc-euwe.akamaized.net/840d290b-b1ba-4b27-839d-992374536941/20210203162140_13931974.ism/manifest(format=mpd-time-csf).mpd" -F --allow-unplayable-formats
    Quote Quote  
  12. Thank you everyone, using the information from this thread I was able to download the video/audio files, decrypt them, add subtitles and mux them all together. Really amazing - thank you all very much!

    I ended up using yt-dlp as blimey suggested - thank you again
    Quote Quote  
  13. I may have spoken too soon. that key only worked on the first episode, is it different keys for each episode and if so, how do I get them ?
    Quote Quote  
  14. nevermind again, I found widevine-guesser and an older widevine dll and was able to get the keys myself, thanks again everyone!
    Quote Quote  
  15. Member
    Join Date
    Jan 2019
    Location
    hawaii
    Search PM
    yea, each episode (or video) need a proper key
    Quote Quote  
  16. Originally Posted by blimey View Post
    It seems that yt-dlp may work if the mpd url is adjusted, removing the "subtl_proxy" part of the url;
    Nice find
    Quote Quote  
  17. Originally Posted by blimey View Post
    It seems that yt-dlp may work if the mpd url is adjusted, removing the "subtl_proxy" part of the url;
    respect++
    Discord welcome - codehound#0348
    Quote Quote