Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
CBS Episodes Not Downloadable #15814
Comments
|
Duplicate of what ticket exactly? I saw no duplicates and I saw none with any solutions. |
|
Found another ticket here with code I test and it works to get around issues on CBS.
to this:
This gets around the errors which were preventing downloading. Thanks to a response in #15737 |
|
@mannweb @dstftw Is there a comparable solutions under Windows? I don't believe there is an option to manually edit .py extractors or a way to call a specific external extractor. But please someone correct me if I am wrong there. |
|
I would assume that since Windows is using a .exe file, you would need to compile it from source. The problem is that sometimes the program runs into an issue and should simply fail that part of the task. At least that is what I am seeing here. Sometimes a part will hang, even with this fix in place, so I need to cancel that part with a ctrl+c to force it on to the next part. Simply put, when youtube-dl encounters an error, it should simply state it was an error and try the next resource available for the item you are attempting to download. I see this issue with resources which are either improper (contain errors) or items that wish to take me down the sample-AES route. which is authentication not built into youtube-dl. Not sure if this is accidental on the providers end (CBS in this case) or purposely in place to "prevent" downloading. Not sure why this simple "fix" has not been rolled into youtube-dl yet. It's basically an error catcher. |
|
@rcached you could install python & download the source, make the changes mentioned (careful of whitespace - it matters with Python), and then run |
|
To clarify on @mannweb's code, the original section: tp_formats, tp_subtitles = self._extract_theplatform_smil(
update_url_query(tp_release_url, query), content_id,
'Downloading %s SMIL data' % asset_type)should be replaced with: try:
tp_formats, tp_subtitles = self._extract_theplatform_smil(
update_url_query(tp_release_url, query), content_id,
'Downloading %s SMIL data' % asset_type)
formats.extend(tp_formats)
subtitles = self._merge_subtitles(subtitles, tp_subtitles)
except:
print("ERROR!")Watch your spaces, make sure indents match with source lines being replaced as appropriate. |
Please follow the guide below
xinto all the boxes [ ] relevant to your issue (like this:[x])Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2018.03.10. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.Before submitting an issue make sure you have:
What is the purpose of your issue?
The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue
If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add the
-vflag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):
Note that youtube-dl does not support sites dedicated to copyright infringement. In order for site support request to be accepted all provided example URLs should not violate any copyrights.
Description of your issue, suggested solution and other information
TV show episodes unable to download
Explanation of your issue in arbitrary form goes here. Please make sure the description is worded well enough to be understood. Provide as much context and examples as possible.
Some TV show episodes or complete seasons are unable to be downloaded. It's not every show or even all episodes of every season.
If work on your issue requires account credentials please provide them or explain how one can obtain them.