Skip to content

Commit 4313585

Browse files
committed
remove ytdlp debug prints
1 parent 3120073 commit 4313585

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

fuo_ytmusic/provider.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -431,12 +431,7 @@ def _song_get_media_from_ytdlp(self, song: SongModel) -> Optional[Media]:
431431
if cookiefile_path:
432432
ytdl_opts["cookiefile"] = cookiefile_path
433433

434-
debug_opts = dict(ytdl_opts)
435-
debug_opts.pop("logger", None)
436-
print(f"song_get_media yt-dlp options for {song.identifier}: {debug_opts}")
437-
438434
url = self.song_get_web_url(song)
439-
print(f"song_get_media source url for {song.identifier}: {url}")
440435
with _NoCookieSaveYoutubeDL(ytdl_opts) as inner:
441436
info = inner.extract_info(url, download=False)
442437
media_url = info.get("url")

0 commit comments

Comments
 (0)