-
Notifications
You must be signed in to change notification settings - Fork 390
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
[Bug]: Channels with Handle URLs Cause Error #974
Comments
Can vouch that this is an issue. |
Mattsblack pointed out in a duplicate issue that this also affects @theojoe's channel |
It will affect them all, support has not been added yet for that format. |
Oops, sorry. I didn't mean to close that! |
Videos are at $channel_url/videos Another option which might work is to get the channel id like |
This is a potential workaround for now, until a fix can be applied. |
Good thing I have the Channel ID's saved from other issues I have encountered for the channels I commonly scan. The only way that I can predictably get the channel ID is clicking on the channel while you are in the comments section meaning you would have to find a comment that the owner of the channel posted, click on their name and it brings me to the channel displaying the specific YouTube ID. |
I use Chrome, so I can just right-click, then click "View Page Source" and search for channel_id= in the file and copy whatever comes after that until the quote ("). That has worked so far, but it's a bit annoying and I'd prefer that the channel URL worked, especially since the program (incorrectly) says that it does. |
I'll fix this relatively soon. I've been waiting till YouTube basically fully rolled out Handles but it seems to be taking longer than I expected. On my account it still shows usernames like before, but when logged out it shows handles. |
Great, thank you! I mostly scan other people's channels, and the majority of channels use handle URLs now, so this upgrade will be very helpful. |
It actually seems that YouTube hasn't even added support for handles to the API yet. Though someone has apparently figured out how to fetch channel IDs with handles using HTTP it seems. For example: https://yt.lemnoslife.com/channels?handle=thiojoe The related repo: https://github.com/Benjamin-Loison/YouTube-operational-API |
That's very strange, especially since most/all of the URLs are handle-based (eg. "https://www.youtube.com/@Technoblade")... |
Yep. All channels have a handle now, even if they are unpleasant (some people have user-xxxxx as theirs). Strange how YouTube just isn't adding support for handles in their API. |
I'm new to the whole software development field. Is it normal for an API to take a few weeks to be updated when a new, major feature comes out? |
It honestly shouldn't. When you think about it, YouTube needs to code the backend so that it handles the new Handles (I know not funny). So they should've programmed it if it is already so widespread. Unless they have an internal API and public API, Handles should've been in the API by now. |
They literally never added API support for community posts after all these years, so who knows when they'll add support for handles. |
Then maybe it's time to switch to a community made API? I don't know if they exist, but if they provide more features than the standard YouTube API, then maybe it's the best option. |
How do third party sites like https://commentpicker.com/youtube-channel-id.php obtain the Channel ID? I just tested that with https://www.youtube.com/@GamersNexus and it correctly returned its Channel ID (UChIs72whgZI9w6d6FhwGGHA). I note the Channel ID is still currently included in the page source for various profile pages, so perhaps that could be used as a fallback if the YTSP was able to parse channel page HTML? Not ideal I understand given that it should be surfaced through the API, but as YT is pushing hard to migrate from IDs to usernames it might be handy to have an interim solution. |
This is a bit of an ugly approach. Maybe we should investigate a more elegant solution (why do I sound like a fancy person?) |
- Fixes issue validating URL sometimes if www was in URL - Improves searches of channels by restricting API results to only channels, not videos. Now if YouTube doesn't return the channel, it should at least return nothing more often instead of the wrong channel altogether. Addresses #455 , #974 , #854
I was actually able to add a workaround easier than expected, so handles should work now in the latest beta6. Basically it does the same type of search request to the API that I was doing for old custom URLs. It just does an API search for the name and hopefully with handles that should always return the correct channel. |
Great! Thank you! This tool is so helpful. |
Duplicate Issues
What happened?
You cannot enter a channel URL that uses one of the new YouTube handles for scanning. The channel in question is GTWScar Edits.
Release version
2.17.0-Beta4
Steps to reproduce
What platform are you seeing this problem on?
Windows (.exe file)
Relevant log output
Screenshots
The text was updated successfully, but these errors were encountered: