-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mentions in YouTube video title change when using flat-playlist + English extractor #6006
Comments
|
@pukkandan I can't remove it, because if I remove the I added another video to the dummy playlist to showcase this: yt-dlp --simulate --flat-playlist --print filename https://www.youtube.com/playlist?list=PLsPsHE7buzKlu_x-7N4x7uPuidp3Kq2Y0 Outputs:
While this: yt-dlp --simulate --print filename https://www.youtube.com/playlist?list=PLsPsHE7buzKlu_x-7N4x7uPuidp3Kq2Y0 Outputs:
Notice that even though it fixes the problem for the first video, the second video has a completely different title. I have asked about this previously in the discord server and got a reply saying that I just have to use the English extractor, which works perfectly and bypasses this issue (the second video always shows up as |
Perhaps what you want is |
I believe it's the opposite |
What does the web browser show as the title in the playlist as well as the watch page with the youtube language set to English US? There does seem to be some weird inconsistency here but I wonder if it's just to do with the different pages. For me on mobile app it is inconsistent - as the watch page appears to hyperlink them and use the handle/username where playlist shows channel name. If this is the case then there is nothing we can do. |
@pukkandan On PC (website) it's consistently
This did somehow work (both gave
This did work for the second problem (the one I had solved before of a difference between |
Yeah as far as I can tell this seems to be a bug/inconsistency on YouTube's end with how it handles the handles/hyperlinks to channels. I don't think there is anything we can do to reliably keep it consistent. Edit: looking through the responses now to what YouTube is displaying on the website, things do seem a bit confusing. When we are using the translated title it's coming from But it's not just here too. In the sidebar it's recommending me a mix with this video, but with the different title. It definitely does seem like a YouTube bug where they failed to fully change something regarding handles in video titles. A fix would be to prefer the title in the |
DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE
Checklist
Provide a description that is worded well enough to be understood
YouTube has a feature called mentions, where a YouTube video's title can link to another channel. However, these can change the title based on if
--flat-playlist
is used vs if it isn't (with an English extractor).Here is an example:
Prints out:
While this:
Prints out:
(The first one is a dummy playlist I made with only the video in it).
Notice how
@MohitChauhanOfficial | @pritam7415
changes to@Mohit Chauhan | @Pritam
when--flat-playlist
isn't used. If I remove the English extractor, both become the top one (@MohitChauhanOfficial | @pritam7415
).I don't really care which one stays the same between these, I just want consistency, so both have to be the same for my use case.
Thanks in advance!
Provide verbose output that clearly demonstrates the problem
yt-dlp -vU <your command line>
)[debug] Command-line config
) and insert it belowComplete Verbose Output
The text was updated successfully, but these errors were encountered: