Open spookyahell opened 1 year ago
Sorry, about that. It's not a question, it's the bug title.
TLDR; Duplicated manifest urls are being parsed. And WDR may not be the only culprit. (I have a suspicion about ARD) I believe it needs investigation and at best mitigation. (Somebody could probably do a deep-dive but it probably won't be me)
Edit: F-- I can't decide... I have no evidence for further extractors being affected... (That's at best a vague suspicion.) Edit2: I decided now. In favor of #NoClickBait. (=no issue titles that are confusing/misleading/wrong) | PS: I will be heading to bed now (lol) 'Twas a long day.
Hm, 5 issue renames within the first 20 minutes, can I get a GWR for "ADD related renaming results on Github" for that? (I do in fact really suffer from ADHD myself, the key is being aware of it and at times making others aware of that too, so they can better understand the behavior.)
(A more established yt-dlp contributer is welcome to rename the issue to anything else.)
Please highlight the duplicate manifests in the posted log. Or is this issue a red herring?
DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE
Checklist
Provide a description that is worded well enough to be understood
This is worrying me...
But let's start from the beginning...
I created a pull request for the WDR plugin thinking I may omit creating an issue about "it", but I realized this is technically a slightly bigger thing*, so I decided now to open this issue after all.
*this could be up for debate depending on the main developers viewpoint of course
yt-dlp parses manifests (i.e. m3u8 "master" urls) from within the plugin, but the issue of WDR has made me aware that we sort-of kinda probably have better safeguards in place that don't cause us to have a situation where the extractor-plugin generates the "media formats" for the same url twice. there could be a generic filter applied to all services before they actually handle the urls.
I should say, I am not too familiar with the way, yt-dlp actually works and handles everything, down to the bone.
But generically speaking, I do believe it should be possible to apply a "duplicate manifest check" for every service in a simple way. - Implementing this may require a simple re-write for affected plug-ins (or all plug-ins if you're trying to be thorough, maybe similar to the way I did with WDR plugin, see PR above)
FYI, the verbose log below includes my implemented fix from PR above, so you won't find the mistake mentioned there, sorry for that.
Provide verbose output that clearly demonstrates the problem
yt-dlp -vU <your command line>
)'verbose': True
toYoutubeDL
params instead[debug] Command-line config
) and insert it belowComplete Verbose Output