Closed risbi0 closed 2 years ago
Technically those are not channel IDs. Might be able to have it check though
A couple things to add that I've found. The YouTube API offers absolutely zero way to do a direct query to retrieve the channel ID if the /c/ channel URL is given, for some reason. It does however, offer a way to directly get the channel ID if it's a legacy username, so for "youtube.com/whatever", you can query for just "whatever". (Except apparently not always? See example below)
The problem with that is, sometimes the /c/ name is different from the legacy name. So if I were to add a thing to query the username "mkbhd" for example, it actually returns this channel id: UCmf_VrB73I-eJ3fq0adaOkg, which is not MKBHD's main channel: https://www.youtube.com/channel/UCmf_VrB73I-eJ3fq0adaOkg
In fact, it's not even the same channel that comes up if you type in youtube.com/mkbhd. (I think at some point, YouTube started using the /c/whatever URL if someone typed in just youtube.com/whatever. So unless they're the same, it might not give the same result) So there's not really any perfect solution.
Gonna close this because it's probably not feasible based on the reasoning I gave above
Duplicate Issues
What happened?
On the entering a channel ID or link part, when entering a unique channel ID by itself, the app displays an error "Invalid Channel link or ID!".
Now you may say that the user should just enter the full URL, and to that I suggest to make the prompt more specific, like "Enter a channel ID (not unique) or link...".
Release version
2.16.0-Beta1
Steps to reproduce
What platform are you seeing this problem on?
Windows (.exe file)
Relevant log output
No response
Screenshots