Skip to content

Commit

Permalink
black .
Browse files Browse the repository at this point in the history
  • Loading branch information
xnetcat authored Nov 17, 2023
1 parent 67b09cf commit 67b0a39
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions spotdl/utils/search.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,12 @@ def get_simple_songs(
"youtube.com/playlist?list=" in request
or "youtube.com/browse/VLPL" in request
):
request = request.replace("https://www.youtube.com/", "https://music.youtube.com/")
request = request.replace("https://youtube.com/", "https://music.youtube.com/")
request = request.replace(
"https://www.youtube.com/", "https://music.youtube.com/"
)
request = request.replace(
"https://youtube.com/", "https://music.youtube.com/"
)

split_urls = request.split("|")
if len(split_urls) == 1:
Expand Down

0 comments on commit 67b0a39

Please sign in to comment.