diff --git a/spotify_to_ytmusic/reddit.py b/spotify_to_ytmusic/reddit.py index 3492516..8ecade5 100644 --- a/spotify_to_ytmusic/reddit.py +++ b/spotify_to_ytmusic/reddit.py @@ -52,7 +52,7 @@ def get_top_new(self, time="week"): if "open.spotify.com" in url: spotify.append(url) count += 1 - elif ("youtu.be" in url or "youtube.com" in url) and "playlist" not in url: + elif ("youtu.be" in url or "youtube.com" in url) and not any(x in url for x in ["playlist", "channel"]): youtube.append(url) youtube_pos.append(count) count += 1