stadust / pointercrate

Rewrite of the https://pointercrate.com backend in Rust
MIT License
78 stars 50 forks source link

Support for new YouTube channel link format #82

Closed heyitspixl closed 9 months ago

heyitspixl commented 1 year ago

Currently, the channel link connected to your account is only valid for the old YouTube channel link formats:

'youtube.com/channel/{channel_id}' or 'youtube.com/c/{custom_channel_id}/' or 'youtube.com/user/{username}/'

YouTube now also uses handles for channels, which is not yet supported:

'youtube.com/@{handle}'

stadust commented 1 year ago

Huh, interesting, thanks for reporting! This can be fixed by adjusting the parsing logic here: https://github.com/stadust/pointercrate/blob/06c5c784ffeb284f411ea0a9135ebfa0c1ddab4d/pointercrate-user/src/video.rs#L22-L37 in case anyone wants to PR (I don't really have time to work on pointercrate these days sadly :( )

stadust commented 9 months ago

This was fixed by #83