Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

N_m3u8DL-RE --selection-{type} and authorized characters #380

Closed
pokemaster974 opened this issue Apr 13, 2024 · 1 comment
Closed

N_m3u8DL-RE --selection-{type} and authorized characters #380

pokemaster974 opened this issue Apr 13, 2024 · 1 comment

Comments

@pokemaster974
Copy link

pokemaster974 commented Apr 13, 2024

I, I try to download this stream : https://manifest-arte.akamaized.net/api/manifest/v1/Generate/240108191516/fr/XQ+KS/
This stream needs a little trick as id + lang is not enough to download the exact subtitle I want, as all id are the same and there are some subtitles with the same lang (fr and de) :

10:05:08.414 INFO : Sub subtitle_0 | fr | Français (forcé)
10:05:08.414 INFO : Sub subtitle_0 | fr | Français (sourds et malentendants) | describes-music-and-sound
10:05:08.415 INFO : Sub subtitle_0 | de | Allemand (forcé)
10:05:08.416 INFO : Sub subtitle_0 | de | Allemand (sourds et malentendants) | describes-music-and-sound
10:05:08.416 INFO : Sub subtitle_0 | en | Anglais | transcribes-spoken-dialog
10:05:08.417 INFO : Sub subtitle_0 | es | Espagnol | transcribes-spoken-dialog
10:05:08.418 INFO : Sub subtitle_0 | it | Italien | transcribes-spoken-dialog

The mpd : 108945-001-A.txt
The N_m3u8DL meta.json : meta.json

If I put only Français, it will download the 2 streams with Français into their name

N_m3u8DL-RE.exe https://manifest-arte.akamaized.net/api/manifest/v1/Generate/240108191516/fr/XQ+KS/108945-001-A.m3u8 -ss name="Français":for=all 
10:05:08.311 INFO : N_m3u8DL-RE (Beta version) 20230628
10:05:08.324 INFO : Loading URL: https://manifest-arte.akamaized.net/api/manifest/v1/Generate/240108191516/fr/XQ+KS/108945-001-A.m3u8
10:05:08.402 INFO : Content Matched: HTTP Live Streaming
10:05:08.403 INFO : Parsing streams...
10:05:08.403 WARN : Master List detected, try parse all streams
10:05:08.407 WARN : Writing meta json
10:05:08.408 INFO : Extracted, there are 15 streams, with 5 basic streams, 3 audio streams, 7 subtitle streams
10:05:08.409 INFO : Vid 1920x1080 | 2162 Kbps | 25 | avc1.4d0028 | SDR
10:05:08.410 INFO : Vid 1280x720 | 1934 Kbps | 25 | avc1.4d401f | SDR
10:05:08.410 INFO : Vid 768x432 | 1131 Kbps | 25 | avc1.4d401e | SDR
10:05:08.411 INFO : Vid 640x360 | 730 Kbps | 25 | avc1.4d401e | SDR
10:05:08.411 INFO : Vid 384x216 | 429 Kbps | 25 | avc1.42e00d | SDR
10:05:08.412 INFO : Aud audio_0 | Français | fr
10:05:08.413 INFO : Aud audio_0 | Multilingue | mul
10:05:08.413 INFO : Aud audio_0 | Allemand | de
10:05:08.414 INFO : Sub subtitle_0 | fr | Français (forcé)
10:05:08.414 INFO : Sub subtitle_0 | fr | Français (sourds et malentendants) | describes-music-and-sound
10:05:08.415 INFO : Sub subtitle_0 | de | Allemand (forcé)
10:05:08.416 INFO : Sub subtitle_0 | de | Allemand (sourds et malentendants) | describes-music-and-sound
10:05:08.416 INFO : Sub subtitle_0 | en | Anglais | transcribes-spoken-dialog
10:05:08.417 INFO : Sub subtitle_0 | es | Espagnol | transcribes-spoken-dialog
10:05:08.418 INFO : Sub subtitle_0 | it | Italien | transcribes-spoken-dialog
10:05:08.419 INFO : Parsing streams...
10:05:08.504 INFO : Selected streams:
10:05:08.505 INFO : Sub subtitle_0 | fr | Français (forcé) | 1 Segment | ~59m12s
10:05:08.506 INFO : Sub subtitle_0 | fr | Français (sourds et malentendants) | describes-music-and-sound | 1 Segment | ~59m12s
10:05:08.507 WARN : Writing meta json
10:05:08.508 INFO : Save Name: 108945-001-A_2024-04-13_10-05-08
10:05:08.531 INFO : Start downloading...Sub subtitle_0 | fr | Français (forcé)
10:05:08.585 WARN : Reading media info...
10:05:08.758 INFO : NaN: Subtitle, webvtt
10:05:08.760 WARN : Extracting VTT(raw) subtitle...
10:05:08.763 INFO : Binary merging...
10:05:08.790 INFO : Start downloading...Sub subtitle_0 | fr | Français (sourds et malentendants)
10:05:08.855 WARN : Reading media info...
10:05:08.895 INFO : NaN: Subtitle, webvtt
10:05:08.897 WARN : 108945-001-A_2024-04-13_10-05-08.fr.srt => 108945-001-A_2024-04-13_10-05-08.fr.copy.srt
10:05:08.898 WARN : Extracting VTT(raw) subtitle...
10:05:08.906 INFO : Binary merging...
10:05:08.910 INFO : Done

If I put more precisely Français (forcé) or Français (sourds et malentendants), it will download find no stream. Probably because of the parenthesis ?

N_m3u8DL-RE.exe https://manifest-arte.akamaized.net/api/manifest/v1/Generate/240108191516/fr/XQ+KS/108945-001-A.m3u8 -ss name="Français (forcé)":for=all 
10:05:30.552 INFO : N_m3u8DL-RE (Beta version) 20230628
10:05:30.569 INFO : Loading URL: https://manifest-arte.akamaized.net/api/manifest/v1/Generate/240108191516/fr/XQ+KS/108945-001-A.m3u8
10:05:30.655 INFO : Content Matched: HTTP Live Streaming
10:05:30.656 INFO : Parsing streams...
10:05:30.657 WARN : Master List detected, try parse all streams
10:05:30.661 WARN : Writing meta json
10:05:30.662 INFO : Extracted, there are 15 streams, with 5 basic streams, 3 audio streams, 7 subtitle streams
10:05:30.663 INFO : Vid 1920x1080 | 2162 Kbps | 25 | avc1.4d0028 | SDR
10:05:30.664 INFO : Vid 1280x720 | 1934 Kbps | 25 | avc1.4d401f | SDR
10:05:30.664 INFO : Vid 768x432 | 1131 Kbps | 25 | avc1.4d401e | SDR
10:05:30.665 INFO : Vid 640x360 | 730 Kbps | 25 | avc1.4d401e | SDR
10:05:30.665 INFO : Vid 384x216 | 429 Kbps | 25 | avc1.42e00d | SDR
10:05:30.666 INFO : Aud audio_0 | Français | fr
10:05:30.666 INFO : Aud audio_0 | Multilingue | mul
10:05:30.667 INFO : Aud audio_0 | Allemand | de
10:05:30.667 INFO : Sub subtitle_0 | fr | Français (forcé)
10:05:30.668 INFO : Sub subtitle_0 | fr | Français (sourds et malentendants) | describes-music-and-sound
10:05:30.668 INFO : Sub subtitle_0 | de | Allemand (forcé)
10:05:30.669 INFO : Sub subtitle_0 | de | Allemand (sourds et malentendants) | describes-music-and-sound
10:05:30.669 INFO : Sub subtitle_0 | en | Anglais | transcribes-spoken-dialog
10:05:30.670 INFO : Sub subtitle_0 | es | Espagnol | transcribes-spoken-dialog
10:05:30.670 INFO : Sub subtitle_0 | it | Italien | transcribes-spoken-dialog
10:05:30.671 ERROR: No stream found to download
@pokemaster974
Copy link
Author

Ok, need to escape them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant