You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some links to youtube.com aren't videos (e.g. community posts, the settings, and YouTube Studio), but they get picked up by PipedLinkBot anyway which spits out broken links.
With my limited understanding of things, I think changing the array at line 14 in utils.ts to replace "youtube.com"with "youtube.com/watch" and add "youtube.com/shorts" and somehow making line 20 use "piped.video/watch" if urlObj.hostname begins with "youtube.com" would do the job.
This code should be near functional to replace line 20, but I don't have a way of verifying that right now.
Problem
Some links to youtube.com aren't videos (e.g. community posts, the settings, and YouTube Studio), but they get picked up by PipedLinkBot anyway which spits out broken links.
This would fix #1 and #67.
Possible Solution
With my limited understanding of things, I think changing the array at line 14 in utils.ts to replace
"youtube.com"
with"youtube.com/watch"
and add"youtube.com/shorts"
and somehow making line 20 use"piped.video/watch"
ifurlObj.hostname
begins with"youtube.com"
would do the job.This code should be near functional to replace line 20, but I don't have a way of verifying that right now.
The text was updated successfully, but these errors were encountered: