rahuldkjain/github-profile-readme-generator

URL to YouTube can be incorrect - c vs channel in link

Open

#550 opened on May 13, 2022

View on GitHub
 (2 comments) (0 reactions) (0 assignees)JavaScript (5,899 forks)batch import
enhancementhacktoberfestv1-deprecated

Repository metrics

Stars
 (19,657 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

My id to my channel: UCG5-iPOoQ65CKi5YuZXSqqg I put this value into youtube channel name input. Generated link:

href="https://www.youtube.com/c/ucg5-ipooq65cki5yuzxsqqg"

is incorrect and it returns 404 error. Correct URL is

https://www.youtube.com/channel/UCG5-iPOoQ65CKi5YuZXSqqg

The difference are letter size of id and c vs channel in URL.

But URL with c in URL can be correct, for example: https://www.youtube.com/c/google

Contributor guide