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 Premiere/Livestreams will result in corrupted Downloads as opposed to giving an Error Message such as "Video currently not available" #18416
Comments
|
Wait what is this a duplicate of? I have Searched for "Youtube", "Premiere", "Live", "Livestream" and "Live Stream" individually and nothing popped up even when removing Search Filters from the Search Bar. Also this Issue existed since at least a year, and only now that I rely on that Script it became enough of a Problem to report it. Edit: I just went through all the Reports that happened in the last month, and none of them described the Issue I am having (maybe one that had an obscure title that I skipped?), so what is this a duplicate of if I may ask? |
|
Because nobody told me where that duplicate is, I am gonna report an update here: I just updated youtube-dl and tested it on a Youtube Premiere Video and it still does the same corrupted File Stuff as specified above, once the Premiere actually started. This Line should work for replicating this Bug for the next 2 and a half hours: |
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.12.03. 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 ```):Description of your issue, suggested solution and other information
Note: The URL I used was a Livestream, if you check it about 30 minutes after the Stream is already over it will work properly again, so you need to test with a random Livestream or Premiere Video from Youtube in order to reproduce this Issue!
So I recently got pissed at how Youtube does the Subscriptions and wrote myself a Script that just automatically downloads them, the Script itself is working for all Channels except for the ones that use Youtube Premiere.
Youtube Premiere handles like a Livestream, but ends up being in the List of Videos uploaded by the Channel unlike real Livestreams. In on itself no Problem if youtube-dl would recognize that its not downloadable (yet) and abort on that specific Issue with an Error.
Instead it goes into this weird Mode where it downloads random Parts of the Video until it somewhen decides the Video is 100% downloaded (despite that clearly not being the case, and the File size isn't even matching) and then ofcourse putting the URL into the download archive, resulting in me missing a Video (which to prevent was the purpose of my script in the first place)
But the Mode is also problematic in the sense of the press "q or ?" part at the end, since it wont respond to either presses at all (also "?" on German Keyboards requires a shift+ß in order to type it, so maybe replace that with an "h" for "help" instead?)
In case it matters, my Script has been written like multiple Lines of the following in a row, but the weird Mode happens regardless of arguments given to it, it even happens without the -v for verbose.
youtube-dl "https://www.youtube.com/channel/UCl84oPPKuECe1PbIwDSN1Cg/videos" -iqf "best[height<=240]" -o "/data/Downloads/Videos/%(title)s.%(ext)s" --restrict-filenames --retries infinite --console-title --download-archive "~/Documents/Scripts/downloaded.txt" --playlist-end 24 --http-chunk-size 10M
I know there is a Feature where it can download Subscriptions with my credentials, but I do not trust Youtubes Side to work properly for that, considering it just drops random Videos out of my Bell Notifications all the time against my consent... (Not to mention the Security Issues of giving my Google Account Credentials to some random Developers Software somewhere (not intended as insult, just common sense))
If this seems like a Multiple-Issue request, I only provided that Download Script as my personal example of why I would like this Bug to be fixed, the Script itself works fine otherwise. ;)
I hope I gave enough Info for this Issue, I'll be afk for about an hour and then check email from time to time to see if I got a reply to this. ^^