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

NRK - json file (-j) no longer contains season_number and episode_number keys #27473

Closed
5 tasks done
VikingKing opened this issue Dec 18, 2020 · 1 comment
Closed
5 tasks done

Comments

@VikingKing
Copy link

Checklist

  • I'm reporting a broken site support
  • I've verified that I'm running youtube-dl version 2020.12.14
  • I've checked that all provided URLs are alive and playable in a browser
  • I've checked that all URLs and arguments with special characters are properly quoted or escaped
  • I've searched the bugtracker for similar issues including closed ones

Verbose log

Using version 2020.12.14:
$ youtube-dl https://tv.nrk.no/serie/pompel-og-pilt-reparatoerene-kommer/sesong/1/episode/1/avspiller -v -j | grep -i episode_number
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'https://tv.nrk.no/serie/pompel-og-pilt-reparatoerene-kommer/sesong/1/episode/1/avspiller', u'-v', u'-j']
[debug] Encodings: locale UTF-8, fs UTF-8, out None, pref UTF-8
[debug] youtube-dl version 2020.12.14
[debug] Python version 2.7.17 (CPython) - Linux-5.4.0-58-generic-x86_64-with-Ubuntu-18.04-bionic
[debug] exe versions: ffmpeg 3.4.8, ffprobe 3.4.8
[debug] Proxy map: {}
[debug] Default format spec: bestvideo+bestaudio/best

(No output from grep)

Using version 2020.09.20:
$ youtube-dl-2020.09.20 https://tv.nrk.no/serie/pompel-og-pilt-reparatoerene-kommer/sesong/1/episode/1/avspiller -v -j | grep -i episode_number
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'https://tv.nrk.no/serie/pompel-og-pilt-reparatoerene-kommer/sesong/1/episode/1/avspiller', u'-v', u'-j']
[debug] Encodings: locale UTF-8, fs UTF-8, out None, pref UTF-8
[debug] youtube-dl version 2020.09.20
[debug] Python version 2.7.17 (CPython) - Linux-5.4.0-58-generic-x86_64-with-Ubuntu-18.04-bionic
[debug] exe versions: ffmpeg 3.4.8, ffprobe 3.4.8
[debug] Proxy map: {}
WARNING: [NRK] FBUA01000169: Failed to parse XML syntax error: line 1, column 0
{"extractor": "NRK", "protocol": "m3u8_native", "height": 720, "manifest_url": "http://nrk-od-67.akamaized.net/world/49567/0/hls/fbua01000169/playlist.m3u8?bw_low=10&bw_high=6000&bw_start=2000&no_iframes&no_audio_only&no_subtitles", "fulltitle": "Reparat\u00f8rene kommer 1:5", "playlist_index": 1, "playlist": "1. Reparat\u00f8rene kommer", "title": "Reparat\u00f8rene kommer 1:5", "_filename": "Reparat\u00f8rene kommer 1_5-FBUA01000169AA.mp4", "width": 1280, "categories": ["barn"], "age_limit": null, "acodec": "mp4a.40.2", "display_id": "FBUA01000169AA", "format": "hls-2389 - 1280x720", "season": "Season 1", "tbr": 2389.392, "preference": null, "subtitles": {}, "thumbnails": [{"url": "https://gfx.nrk.no/SXynym529aF2DDtoGOZGLABmZYE7tJGlA8L-3vJXXGeA", "width": null, "id": "0", "height": null}, {"url": "https://gfx.nrk.no/SXynym529aF2DDtoGOZGLACoJSTwTtz4s8L-3vJXXGeA", "width": null, "id": "1", "height": null}, {"url": "https://gfx.nrk.no/SXynym529aF2DDtoGOZGLAJaju2H28wxE8L-3vJXXGeA", "width": null, "id": "2", "height": null}, {"url": "https://gfx.nrk.no/SXynym529aF2DDtoGOZGLAyTXeu1Y-ZtI8L-3vJXXGeA", "width": null, "id": "3", "height": null}], "extractor_key": "NRK", "vcodec": null, "season_number": 1, "webpage_url": "https://tv.nrk.no/serie/pompel-og-pilt-reparatoerene-kommer/sesong/1/episode/1/avspiller", "formats": [{"http_headers": {"Accept-Language": "en-us,en;q=0.5", "Accept-Encoding": "gzip, deflate", "X-Forwarded-For": "84.208.63.166", "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8", "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.49 Safari/537.36", "Accept-Charset": "ISO-8859-1,utf-8;q=0.7,*;q=0.7"}, "protocol": "m3u8_native", "format": "hls-203 - 320x180", "url": "http://nrk-od-67.akamaized.net/world/49567/0/hls/fbua01000169/933581405-145176520-prog_index.m3u8?v
ersion_hash=4d0add7c", "vcodec": null, "tbr": 203.976, "height": 180, "width": 320, "ext": "mp4", "preference": null, "fps": 25.0, "manifest_url": "http://nrk-od-67.akamaized.net/world/49567/0/hls/fbua01000169/playlist.m3u8?bw_low=10&bw_high=6000&bw_start=2000&no_iframes&no_audio_only&no_subtitles", "format_id": "hls-203", "acodec": "mp4a.40.2"}, {"http_headers": {"Accept-Language": "en-us,en;q=0.5", "Accept-Encoding": "gzip, deflate", "X-Forwarded-For": "84.208.63.166", "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8", "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.49 Safari/537.36", "Accept-Charset": "ISO-8859-1,utf-8;q=0.7,*;q=0.7"}, "protocol": "m3u8_native", "format": "hls-377 - 480x270", "url": "http://nrk-od-67.akamaized.net/world/49567/0/hls/fbua01000169/1122114058-145176520-prog_index.m3u8?version_hash=4d0add7c", "vcodec": null, "tbr": 377.824, "height": 270, "width": 480, "ext": "mp4", "preference": null, "fps": 25.0, "manifest_url": "http://nrk-od-67.akamaized.net/world/49567/0/hls/fbua01000169/playlist.m3u8?bw_low=10&bw_high=6000&bw_start=2000&no_iframes&no_audio_only&no_subtitles", "format_id": "hls-377", "acodec": "mp4a.40.2"}, {"http_headers": {"Accept-Language": "en-us,en;q=0.5", "Accept-Encoding": "gzip, deflate", "X-Forwarded-For": "84.208.63.166", "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8", "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.49 Safari/537.36", "Accept-Charset": "ISO-8859-1,utf-8;q=0.7,*;q=0.7"}, "protocol": "m3u8_native", "format": "hls-621 - 640x360", "url": "http://nrk-od-67.akamaized.net/world/49567/0/hls/fbua01000169/1098842885-145176520-prog_index.m3u8?version_hash=4d0add7c", "vcodec": null, "tbr": 621.952, "height": 360, "width": 640, "ext": "mp4", "preference": null, "fps": 25.0, "manifest_url": "http://nrk-od-67.akamaized.net/world/49567/0/hls/fbua01000169/playlist.m3u8?bw_low=10&bw_high=6000&bw_start=2000&no_iframes&no_audio_only&no_subtitles", "format_id": "hls-621", "acodec": "mp4a.40.2"}, {"http_headers": {"Accept-Language": "en-us,en;q=0.5", "Accept-Encoding": "gzip, deflate", "X-Forwarded-For": "84.208.63.166", "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8", "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.49 Safari/537.36", "Accept-Charset": "ISO-8859-1,utf-8;q=0.7,*;q=0.7"}, "protocol": "m3u8_native", "format": "hls-1416 - 960x540", "url": "http://nrk-od-67.akamaized.net/world/49567/0/hls/fbua01000169/541209275-1474654189-prog_index.m3u8?version_hash=4d0add7c", "vcodec": null, "tbr": 1416.624, "height": 540, "width": 960, "ext": "mp4", "preference": null, "fps": 25.0, "manifest_url": "http://nrk-od-67.akamaized.net/world/49567/0/hls/fbua01000169/playlist.m3u8?bw_low=10&bw_high=6000&bw_start=2000&no_iframes&no_audio_only&no_subtitles", "format_id": "hls-1416", "acodec": "mp4a.40.2"}, {"http_headers": {"Accept-Language": "en-us,en;q=0.5", "Accept-Encoding": "gzip, deflate", "X-Forwarded-For": "84.208.63.166", "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8", "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.49 Safari/537.36", "Accept-Charset": "ISO-8859-1,utf-8;q=0.7,*;q=0.7"}, "protocol": "m3u8_native", "format": "hls-2389 - 1280x720", "url": "http://nrk-od-67.akamaized.net/world/49567/0/hls/fbua01000169/336683301-1474654189-prog_index.m3u8?version_hash=4d0add7c", "vcodec": null, "tbr": 2389.392, "height": 720, "width": 1280, "ext": "mp4", "preference": null, "fps": 25.0, "manifest_url": "http://nrk-od-67.akamaized.net/world/49567/0/hls/fbua01000169/playlist.m3u8?bw_low=10&bw_high=6000&bw_start=2000&no_iframes&no_audio_only&no_subtitles", "format_id": "hls-2389", "acodec": "mp4a.40.2"}], "playlist_uploader_id": null, "n_entries": 1, "series": "Pompel og pilt - Reparat\u00f8rene kommer", "duration": 702.4, "id": "FBUA01000169AA", "playlist_id": "FBUA01000169", "fps": 25.0, "requested_subtitles": null, "thumbnail": "https://gfx.nrk.no/SXynym529aF2DDtoGOZGLAyTXeu1Y-ZtI8L-3vJXXGeA", "webpage_url_basename": "avspiller", "description": "Norsk dukkefilmserie fra 1969 der vi m\u00f8ter de to reparat\u00f8rene Pompel og Pilt, Gorgon vaktmester, Moffedillen og Migrantene. Av og med Bj\u00f8rg og Arne Mykle, musikk ved Arild Boman, regi ved Ebbe Ording. - Det er bedre med to reparat\u00f8rer enn med ingen reparat\u00f8rer! (1:5)", "playlist_uploader": null, "format_id": "hls-2389", "episode_number": 1, "playlist_title": "1. Reparat\u00f8rene kommer", "episode": "1:5", "url": "http://nrk-od-67.akamaized.net/world/49567/0/hls/fbua01000169/336683301-1474654189-prog_index.m3u8?version_hash=4d0add7c", "http_headers": {"Accept-Language": "en-us,en;q=0.5", "Accept-Encoding": "gzip, deflate", "X-Forwarded-For": "84.208.63.166", "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8", "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.49 Safari/537.36", "Accept-Charset": "ISO-8859-1,utf-8;q=0.7,*;q=0.7"}, "ext": "mp4"}

Description

"season_number" and "episode_number" keys are missing from json in version 2020.12.14 of YTD. Worked with version 2020.09.20
Need the keys to rename and sort downloads.

@VikingKing
Copy link
Author

Looks like this broke between release 2020.11.24 and release 2020.11.26

@dstftw dstftw closed this as completed in 5c6e84c Jan 3, 2021
ThirumalaiK pushed a commit to ThirumalaiK/youtube-dl that referenced this issue Jan 28, 2021
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