[video] Fix youtube redirects

This commit is contained in:
2025-01-21 22:49:15 -05:00
parent c109ed79eb
commit a9499f0463
3 changed files with 9 additions and 3 deletions

View File

@ -263,7 +263,7 @@ class Video(ScrobblableMixin):
@property
def youtube_link(self) -> str:
if self.youtube_id:
return YOUTUBE_BASE_URL + self.youtube_id
return f"https://www.youtube.com/watch?v={self.youtube_id}"
return ""
@property