Open lowprofileusername opened 4 years ago
for this link - https://www.cbs.com/shows/bob-the-builder/video/9AF4F96F-6B2A-A0FF-F4A7-208A3B6154F1/bob-the-builder-pilchard-and-the-bear/
try signing in with your subscriber info, then try to download the video
I'm actually surprised it's trying to pull XML. I use yt-dlc embedded into a custom script to pull down episodes and I actually grab a JSON file that lists all of the details about the episode. I'll try and see what's up
Oh weird! When looking at the JSON output of the page data https://www.cbs.com/shows/bob-the-builder/xhr/episodes/page/1/size/18/xs/0/season/2/ I can see Episode 28, which is the 'Pilchard and the bear" episode, but if I try and grab it using any of the data, it doesn't work. I'm not sure why it's failing.. I'll dig into this more later.
for this link - https://www.cbs.com/shows/bob-the-builder/video/9AF4F96F-6B2A-A0FF-F4A7-208A3B6154F1/bob-the-builder-pilchard-and-the-bear/ try signing in with your subscriber info, then try to download the video
Did you mean that I need to add --username and --password? tried that but no luck. I did have active subscription.
[debug] Command-line args: ['--verbose', '--username', 'PRIVATE', '--password', 'PRIVATE', 'https://www.cbs.com/shows/bob-the-builder/video/9AF4F96F-6B2A-A0FF-F4A7-208A3B6154F1/bob-the-builder-pilchard-and-the-bear/', '--hls-prefer-native']
ERROR: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dlc -U to update. Be sure to call youtube-dlc with the --verbose flag and include its complete output.
Oh weird! When looking at the JSON output of the page data https://www.cbs.com/shows/bob-the-builder/xhr/episodes/page/1/size/18/xs/0/season/2/ I can see Episode 28, which is the 'Pilchard and the bear" episode, but if I try and grab it using any of the data, it doesn't work. I'm not sure why it's failing.. I'll dig into this more later.
However I sucessfully "downloaded" this episode via mobile CBS app. But the files on my mobile device are splited and seems encrypted. has a generated_manifest mpd file. and 3 dir audio-en new_bob_the_builder_02A_1920x108025FPS**_**** text-en And each dir contains hundards of files like 934-seg_1.m4s 935-init.m4v just don't know how to combine it.
Oh weird! When looking at the JSON output of the page data https://www.cbs.com/shows/bob-the-builder/xhr/episodes/page/1/size/18/xs/0/season/2/ I can see Episode 28, which is the 'Pilchard and the bear" episode, but if I try and grab it using any of the data, it doesn't work. I'm not sure why it's failing.. I'll dig into this more later.
However I sucessfully "downloaded" this episode via mobile CBS app. But the files on my mobile device are splited and seems encrypted. has a generated_manifest mpd file. and 3 dir audio-en new_bob_the_builder_02A_1920x108025FPS**_**** text-en And each dir contains hundards of files like 934-seg_1.m4s 935-init.m4v just don't know how to combine it.
have you tried youtube ?? - https://www.youtube.com/results?search_query=Pilchard+and+the+Bear
Oh weird! When looking at the JSON output of the page data https://www.cbs.com/shows/bob-the-builder/xhr/episodes/page/1/size/18/xs/0/season/2/ I can see Episode 28, which is the 'Pilchard and the bear" episode, but if I try and grab it using any of the data, it doesn't work. I'm not sure why it's failing.. I'll dig into this more later.
While download season 1. I found https://www.cbs.com/shows/bob-the-builder/video/5732572D-2B81-D997-C281-208A3B57EE66/bob-the-builder-flyaway-ghost/ this episode repeat the same error as above. hope this would help digging the issue.
I think I found the issue, I'm working through trying to identify how to fix it. It's successfully getting the XML, it's actually the parsing of the XML that appears to be failing.
So, I'm not sure exactly what's happening. The XML for 'fly-away-ghost' is different from another episode that works.
The URL for fly-away-ghost shows: www.cbs.com/shows/bob-the-builder/video/5732572D-2B81-D997-C281-208A3B57EE66/bob-the-builder-flyaway-ghost
The URL for an episode that does work shows www.cbs.com/shows/bob-the-builder/video/fg4Bhubftb9jnw7UmUOUWePUtfIig3XO/bob-the-builder-milkshake-mix-up
Notice the different after /video. The string that immediately follows is the contentId. Also, the assetType and bitrate are drastically different: flyaway-ghost:
<assetType>HLS_FPS</assetType>
<bitrate>1000</bitrate>
milkshake-mix-up:
<assetType>StreamPack</assetType>
<bitrate>503000</bitrate>
All of that to say, I think the episodes that aren't working are because a different type of encryption or DRM. The difference in XML length is actually quite large. milkshake-mix-up is 595 lines line, while flyaway-ghost is only 241 lines long.
If I get some time, I'll see if I can figure out what's so different.
I did a search on HLS FPS, apparently it's an Apple DRM. Given the current landscape, I feel it's probably best to stop here and just return a DRM error message.
I did a search on HLS FPS, apparently it's an Apple DRM. Given the current landscape, I feel it's probably best to stop here and just return a DRM error message.
I really appriciated all the effort and time you put on this. Now we knew this was due to DRM but not syntax error
Checklist
Verbose log
[debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['-v', 'https://www.cbs.com/shows/bob-the-builder/video/9AF4F96F-6B2A-A0FF-F4A7-208A3B6154F1/bob-the-builder-pilchard-and-the-bear/'] [debug] Loading archive file None [debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8 [debug] youtube-dlc version 2020.10.26 [debug] Python version 3.7.3 (CPython) - Linux-4.14.182-bbrplus-x86_64-with-debian-10.0 [debug] exe versions: ffmpeg 4.1.6-1, ffprobe 4.1.6-1 [debug] Proxy map: {} [CBS] 9AF4F96F-6B2A-A0FF-F4A7-208A3B6154F1: Downloading XML ERROR: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dlc -U to update. Be sure to call youtube-dlc with the --verbose flag and include its complete output.
Description
download for this specific episode not working https://www.cbs.com/shows/bob-the-builder/video/9AF4F96F-6B2A-A0FF-F4A7-208A3B6154F1/bob-the-builder-pilchard-and-the-bear/ however the other works just fine. e.g https://www.cbs.com/shows/bob-the-builder/video/38CC8BCF-E327-4B42-8F0C-208A3B593ABB/bob-the-builder-drive-thru-disaster/ this ok.