style: ruff format 4 video pipeline files

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
yusyus
2026-03-01 19:48:02 +03:00
parent 0396dcc5c0
commit 4b19cf4836
4 changed files with 100 additions and 44 deletions

View File

@@ -148,9 +148,16 @@ class SourceDetector:
lower = source.lower()
# YouTube patterns
youtube_keywords = ["youtube.com/watch", "youtu.be/", "youtube.com/playlist",
"youtube.com/@", "youtube.com/channel/", "youtube.com/c/",
"youtube.com/shorts/", "youtube.com/embed/"]
youtube_keywords = [
"youtube.com/watch",
"youtu.be/",
"youtube.com/playlist",
"youtube.com/@",
"youtube.com/channel/",
"youtube.com/c/",
"youtube.com/shorts/",
"youtube.com/embed/",
]
if any(kw in lower for kw in youtube_keywords):
# Determine suggested name
if "playlist" in lower: