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.
[youtube] Youtube-dl don't catch live streams from the specified channel #19105
Comments
|
Duplicate of #16212. |
|
I studied this topic, but I do not think that my message duplicates the problem! I checked the channel https://www.youtube.com/user/ChildrenofPoseidon2 that is used for the example and all 5 videos displayed in the browser are correctly in this version of youtube-dl and at the given time. Among other things, there is nothing about the space with the RSS download or should I create a separate topic for this problem? Sorry, but it seems to me that you have not even read my message completely. |
|
I would also like to get an answer to the question - why can not I get a video from a specific URL! |
|
The roots of both issues are the same: the source URL is not used for extraction due to rationale explained in the issue linked. |
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 2019.01.30.1. 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?
Problem concerns live video for a particular channel. I chose a channel that broadcasts live video around the clock to make it easier to check for a problem.
If you open the URL in the browser https://www.youtube.com/channel/UCjzHeG1KWoonmf9d5KBvSiw/videos?flow=grid&view=2, then only those videos that are broadcast live will be displayed.
If you try to download these videos using the same URL, then we will get this:
Thus, the program will use some of its own method to determine which videos to download, instead of those that are displayed on a specific page. But what's worse - when using this method, the program skips the videos that are broadcast live. I do not know why, but it is.
I discovered this when I decided to try to download the channel where the live broadcast was. Even the number of videos found was less than what was displayed in the browser, since video with live streaming was not taken into account.
Ok. Youtube allows you to get a list of videos using RSS. I checked and there are live streams there.
Here is the link for the same channel: http://www.youtube.com/feeds/videos.xml?channel_id=UCjzHeG1KWoonmf9d5KBvSiw
Since I read that the download of RSS in youtube-dl has long been implemented, I can get live video feeds using this link. But this led to a strange error
Why? After all, this page without any problems opens in the browser.
Perhaps there is some way to solve this problem (except using the filter search), but I did not find it. I also don’t understand why an error occurs when trying to use RSS. Among other things, I would like to use a filter to load only live streams.