iPrima download

Jigdo

  • ***
  • 164
    • Zobrazit profil
    • E-mail
Re:iPrima download
« Odpověď #15 kdy: 15. 01. 2022, 17:32:39 »
yt-dlp má option --write-pages, se kterým uloží do aktuálního adresáře všechny pomocné stránky, které cestou stáhne. Osvědčilo se mi vypsat si je pomocí "ls -lt", aby byly seřazené podle času. Když se podíváte do té správné, je tam seznam formátů, tedy přesněji dva oddělené seznamy, jeden s detaily, druhý jen jako seznam URL.

u iPrima to funguje, jeste jsem se presne nedival co vsechno tam je, ale ted jsem to zkousel pro zajimavost klasiku z Channel4
https://www.channel4.com/programmes/east-is-east/on-demand/27307-001
a nic, nebo to musi yt-dlp podporovat pro to jejich 4oD



Kód: [Vybrat]
~/Videos/write-pages$ yt-dlp -F --allow-unplayable-formats --verbose --write-pages "https://ak-jos-c4assets-com.akamaized.net/CH4_42_6_900_27307001001010_002/CH4_42_6_900_27307001001010_002_J01.ism/stream.mpd?c3.ri=13504358139448033157&filter=%28type%3D%3D%22video%22%26%26%28%28DisplayHeight%3E%3D288%29%26%26%28systemBitrate%3C4800000%29%29%29%7C%7Ctype%21%3D%22video%22&ts=1642263638&e=600&st=PGHDfdjlZqPuEBEhGvSg6mFJ1Kov8-TRL4yZP6RGqD4&mpd_segment_template=time"
[debug] Command-line config: ['-F', '--allow-unplayable-formats', '--verbose', '--write-pages', 'https://ak-jos-c4assets-com.akamaized.net/CH4_42_6_900_27307001001010_002/CH4_42_6_900_27307001001010_002_J01.ism/stream.mpd?c3.ri=13504358139448033157&filter=%28type%3D%3D%22video%22%26%26%28%28DisplayHeight%3E%3D288%29%26%26%28systemBitrate%3C4800000%29%29%29%7C%7Ctype%21%3D%22video%22&ts=1642263638&e=600&st=PGHDfdjlZqPuEBEhGvSg6mFJ1Kov8-TRL4yZP6RGqD4&mpd_segment_template=time']
WARNING: You have asked for UNPLAYABLE formats to be listed/downloaded. This is a developer option intended for debugging.
         If you experience any issues while using this option, DO NOT open a bug report
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, err utf-8, pref UTF-8
[debug] yt-dlp version 2021.12.27 [6223f67a8] (zip)
[debug] Python version 3.9.2 (CPython 64bit) - Linux-5.10.0-10-amd64-x86_64-with-glibc2.31
[debug] exe versions: ffmpeg 4.3.3-0, ffprobe 4.3.3-0, rtmpdump 2.4
[debug] Optional libraries: Cryptodome, mutagen, sqlite, websockets
[debug] Proxy map: {}
[debug] [generic] Extracting URL: https://ak-jos-c4assets-com.akamaized.net/CH4_42_6_900_27307001001010_002/CH4_42_6_900_27307001001010_002_J01.ism/stream.mpd?c3.ri=13504358139448033157&filter=%28type%3D%3D%22video%22%26%26%28%28DisplayHeight%3E%3D288%29%26%26%28systemBitrate%3C4800000%29%29%29%7C%7Ctype%21%3D%22video%22&ts=1642263638&e=600&st=PGHDfdjlZqPuEBEhGvSg6mFJ1Kov8-TRL4yZP6RGqD4&mpd_segment_template=time
[generic] stream.mpd?c3: Requesting header
WARNING: [generic] Falling back on generic information extractor.
[generic] stream.mpd?c3: Downloading webpage
[generic] Saving request to stream.mpdc3_https_-_ak-jos-c4assets-com.akamaized.net_CH4_42_6_900_27307001001010_002_CH4_42_6_900_27307001001010_002_J01.ism_stream.mpdc3.ri=13504358139448033157_filter=%28type%3D%3D%22video%22%26%26%2_c9e10289e7cfdd4713dc4c910052de2b.dump
[generic] stream.mpd?c3: Extracting information
[debug] Identified a DASH manifest
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id
[info] Available formats for stream.mpd?c3:
ID               EXT RESOLUTION FPS │   TBR PROTO │ VCODEC        VBR ACODEC      ABR     ASR MORE INFO
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
audio=128000     m4a                │  128k dash  │ audio only        mp4a.40.2  128k 48000Hz DASH audio, m4a_dash
audio_eng=128000 m4a                │  128k dash  │ audio only        mp4a.40.2  128k 48000Hz [en] DASH audio, m4a_dash
video=500623     mp4 512x288     25 │  500k dash  │ avc1.42C01F  500k video only              DASH video, mp4_dash
video=800628     mp4 640x360     25 │  800k dash  │ avc1.4D401F  800k video only              DASH video, mp4_dash
video=1000757    mp4 640x360     25 │ 1000k dash  │ avc1.640029 1000k video only              DASH video, mp4_dash
video=1200033    mp4 1024x576    25 │ 1200k dash  │ avc1.640029 1200k video only              DASH video, mp4_dash
video=1500175    mp4 1024x576    25 │ 1500k dash  │ avc1.640029 1500k video only              DASH video, mp4_dash
video=1999655    mp4 1280x720    25 │ 1999k dash  │ avc1.640029 1999k video only              DASH video, mp4_dash
video=2998750    mp4 1920x1080   25 │ 2998k dash  │ avc1.640029 2998k video only              DASH video, mp4_dash