-
-
Notifications
You must be signed in to change notification settings - Fork 235
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
Get Channel ID by Custom URL #116
Comments
Yup, some time ago I found the endpoint Ex; curl --request POST \
--url 'https://youtubei.googleapis.com/youtubei/v1/navigation/resolve_url?key=AIzaSyDCU8hByM-4DrUqRUYnGn-3llEO78bcxq8' \
--header 'Content-Type: application/json' \
--data '{
"context": {
"client": {
"clientName": "ANDROID",
"clientVersion": "17.29.33",
"hl": "en"
}
},
"url": "https://youtube.com/c/macmiller"
}' |
LEGEND!! Thanks so much <3 |
I think this issue isn't quite completed, it would be nice to have inbuilt library support for this. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
@LuanRT this issue should probably be reopened |
Describe your suggestion
Hey @LuanRT ,
As far as I'm aware it is currently not possible to grab channel information via the API using the custom URL of a channel.
The new custom URLs in the /c/xxxxx format are not supported. This is really frustrating, as often we rely on users to paste in their channel URL but we can't parse it correctly if they use the custom URL, and they have a hard time finding their Channel ID as the browser always redirects to the custom url.
Here is an example:
https://www.youtube.com/c/WINKEDRecords
Is there some endpoint that can resolve the custom URL and return the channel ID so that we can fetch data correctly?
All the best,
Oskar
Other details
No response
Checklist
The text was updated successfully, but these errors were encountered: