Python Forum
How to access text files, hidden behind 'm3u8' resources
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to access text files, hidden behind 'm3u8' resources
#2
(Feb-19-2023, 11:06 AM)Pavel_47 Wrote: Any suggestions ?
No need to write own code for this.
Look at doc Subtitle Options.
# list available sub formats
(arte_env) G:\1_youtube\arte_env
λ yt-dlp --list-subs --skip-download https://www.arte.tv/fr/videos/107115-001-A/la-fille-de-kiev-1-6
[ArteTV] 107115-001-A: Downloading JSON metadata
WARNING: [ArteTV] Video is geo restricted. Retrying extraction with fake IP 90.85.161.221 (FR) as X-Forwarded-For.
[ArteTV] 107115-001-A: Downloading JSON metadata
[ArteTV] 107115-001-A: Downloading m3u8 information
[ArteTV] 107115-001-A: Downloading m3u8 information
[ArteTV] 107115-001-A: Downloading m3u8 information
[ArteTV] 107115-001-A: Downloading m3u8 information
[ArteTV] 107115-001-A: Downloading m3u8 information
[info] Available subtitles for 107115-001-A:
Language Formats
fr       vtt, vtt
de       vtt, vtt, vtt

# Download the sub(.vtt) format
(arte_env) G:\1_youtube\arte_env
λ yt-dlp --write-sub --all-subs --skip-download https://www.arte.tv/fr/videos/107115-001-A/la-fille-de-kiev-1-6/
[ArteTV] 107115-001-A: Downloading JSON metadata
WARNING: [ArteTV] Video is geo restricted. Retrying extraction with fake IP 53.182.113.183 (DE) as X-Forwarded-For.
[ArteTV] 107115-001-A: Downloading JSON metadata
[ArteTV] 107115-001-A: Downloading m3u8 information
[ArteTV] 107115-001-A: Downloading m3u8 information
[ArteTV] 107115-001-A: Downloading m3u8 information
[ArteTV] 107115-001-A: Downloading m3u8 information
[ArteTV] 107115-001-A: Downloading m3u8 information
[info] 107115-001-A: Downloading 1 format(s): VF-STF-2109+VF-STF-program_audio_0-VF
[info] Writing video subtitles to: La fille de Kiev (1_6) [107115-001-A].fr.vtt
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 1
[download] Destination: La fille de Kiev (1_6) [107115-001-A].fr.vtt
[download] 100% of 55.96KiB in 00:00
[info] Writing video subtitles to: La fille de Kiev (1_6) [107115-001-A].de.vtt
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 1
[download] Destination: La fille de Kiev (1_6) [107115-001-A].de.vtt
[download] 100% of 98.16KiB in 00:00
Reply


Messages In This Thread
RE: How to access text files, hidden behind 'm3u8' resources - by snippsat - Feb-19-2023, 11:45 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  m3u8 using build-in browser downloader? kucingkembar 3 3,006 Mar-29-2024, 01:47 AM
Last Post: kucingkembar
  Automatic login hidden form Andra111 0 2,098 Mar-26-2020, 08:06 AM
Last Post: Andra111
  Access my webpage and download files from Python Pedroski55 7 7,302 May-26-2019, 12:08 PM
Last Post: snippsat
  Can't extract hidden input using Selenium!!! Shaggy89 1 3,376 Jul-12-2017, 12:24 PM
Last Post: metulburr

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020