fuddl / wd

a browser extension for wikidata
https://wikidata.org/wiki/Wikidata:Tools/Wikidata_for_Firefox
GNU General Public License v3.0
36 stars 6 forks source link

Youtube channel id resolver #103

Closed fuddl closed 1 year ago

fuddl commented 1 year ago

might not longer be nessessary after YouTube handle has passed

thibaultmol commented 1 year ago

youtube handle now has passed btw. but currently the extension detects a youtube url as channel id instead of handle

fuddl commented 1 year ago

youtube handle now has passed btw. but currently the extension detects a youtube url as channel id instead of handle

I can't confirm this. Please send me a url that you expect to resolve to a handle.

thibaultmol commented 1 year ago

if you go to https://www.polygon.com/ and use the addon there, try to find statements and click on the youtube link. you'll see the addon wants to save it as a youtube channel id instead of handle. But that url format doesn't work. because it actually is a handle.

fuddl commented 1 year ago

The link you mean would be: https://www.youtube.com/user/polygon This url does not contain a handle.

The handle url would be: https://www.youtube.com/@polygon Which is correctly identified.

The Username url will resolve to a channel ID. I don't know why that is but someone wanted to collect the username as a channel ids. If we don't want this in the future, we'd have to delete this statement.

fuddl commented 1 year ago

I guess that’s solved now