Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/redditEDM' into redditEDM
Browse files Browse the repository at this point in the history
  • Loading branch information
Ubuntu authored and Ubuntu committed May 3, 2024
2 parents c32eb32 + 33cd924 commit 4ebc08d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spotify_to_ytmusic/reddit.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,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
Expand Down

0 comments on commit 4ebc08d

Please sign in to comment.