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.
ERROR: Unable to extract video id (teamcoco) #16374
Comments
|
|
I can confirm this happens with the latest version.
|
|
Since the old and dead teamcoco plex addon finally stopped working I thought I'd use some php and youtube-dl as a replacement but I get the same error. I don't know the internals of this program but I see where it's failing. The site most likely changed and the 3 regexp's youtube-dl for teamcoco uses no longer matches anything. Looking at the teamcoco page source the ID it's looking for is in many places. At http://teamcoco.com/video/louis-ck-interview-george-w-bush it's looking for 19705. Here are 4 places where it has that ID.
And there's a huge JSON string at the end of the page that contains the ID in several places if there's a json parser. |
|
When I try to use the embed link it seems to work, but it downloads a video promo instead of the video that plays in the browser.
It seems that the correct video url on http://teamcoco.com/embed/v/19705 is hidden inside a string that is base64 encoded and inside some json on the page. The preload function (javascript):
|
|
It's too soon to test it out myself but if the patch doesn't and should work for their embed link (for example http://teamcoco.com/embed/v/19705 ) I detailed how to get the video urls from the page above. If an additional video source page is something youtube-dl normally doesn't involve itself with then please make a note of it here or in the source somewhere. |
Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2018.05.01. 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?
Description of your issue, suggested solution and other information
it appears that something with the teamcoco extractor no longer is able to locate the video.