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.
[FoxNewsIE] Returned subtitle url is just the path, not full url #12797
Comments
|
I checked for more recent videos and the path problem has been fixed(they provide the full url path for subtitles when you request the json feed). It seems like fox has changed the rule for their subtitle urls. I can't even turn the caption on with the url you provided on the fox video website. |
|
Cool, should we close this for now or make a rule based on if http is in the URL / date if published before X? Looking through all of Oreilly's clips, this was the only clip that had this error so it's not a big issue. |
|
I don't know for sure, but I would guess the subtitle would not be a problem for most of the videos. I was probing the url for a little while using get request like |
|
Yep that seems a server-side issue. From Javascripts on that page I didn't see any URL manipulating functions. That is, subtitle URLs are passed as-is.
If you know how to fix subtitle URLs, you can do it right away. For youtube-dl, heuristics should be avoided. |
Please follow the guide below
xinto all the boxes [ ] relevant to your issue (like that [x])Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2017.04.17. 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:
Description of your issue, suggested solution and other information
The extracted subtitle url is coming out to be
011013_factor_beck.asf_dfxp.xmlinstead of the full qualified url with a protocol and path.From looking at other links, the url should have been: http://media2.foxnews.com/011013/011013_factor_beck.asf_dfxp.xml