File tree 2 files changed +9
-3
lines changed
2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -179,9 +179,12 @@ def get_simple_songs(
179
179
yt_song .download_url = request
180
180
songs .append (yt_song )
181
181
elif (
182
- "https://music. youtube.com/playlist?list=" in request
183
- or "https://music. youtube.com/browse/VLPL" in request
182
+ "youtube.com/playlist?list=" in request
183
+ or "youtube.com/browse/VLPL" in request
184
184
):
185
+ request = request .replace ("https://www.youtube.com/" , "https://music.youtube.com/" )
186
+ request = request .replace ("https://youtube.com/" , "https://music.youtube.com/" )
187
+
185
188
split_urls = request .split ("|" )
186
189
if len (split_urls ) == 1 :
187
190
if "?list=OLAK5uy_" in request :
Original file line number Diff line number Diff line change 78
78
(
79
79
# Потап и Настя - Чумачечая весна
80
80
"https://open.spotify.com/track/2eaSMmKfigsm96aTUJMoIk" ,
81
- ["https://music.youtube.com/watch?v=A-PjXUzhFDk" , "https://music.youtube.com/watch?v=Bjia3dKZqfo" ],
81
+ [
82
+ "https://music.youtube.com/watch?v=A-PjXUzhFDk" ,
83
+ "https://music.youtube.com/watch?v=Bjia3dKZqfo" ,
84
+ ],
82
85
),
83
86
(
84
87
# Cash Cash - Surrender
You can’t perform that action at this time.
0 commit comments