Spaces:
Running
Running
DebasishDhal99
commited on
Commit
•
c566a8c
1
Parent(s):
f8be5b5
Update playlists_mismatch.py
Browse files- playlists_mismatch.py +2 -2
playlists_mismatch.py
CHANGED
@@ -81,8 +81,8 @@ def playlists_mismatch_func(playlistlink1, playlistlink2, output='link'):
|
|
81 |
if output == 'id':
|
82 |
return firstnotsecond, secondnotfirst, playlist1name, playlist2name
|
83 |
elif output == 'link':
|
84 |
-
firstnotsecond = [f"
|
85 |
-
secondnotfirst = [f"
|
86 |
return firstnotsecond, secondnotfirst, playlist1name, playlist2name
|
87 |
elif output == 'name':
|
88 |
firstnotsecond = [get_video_name(i) for i in firstnotsecond]
|
|
|
81 |
if output == 'id':
|
82 |
return firstnotsecond, secondnotfirst, playlist1name, playlist2name
|
83 |
elif output == 'link':
|
84 |
+
firstnotsecond = [f"https://youtu.be/{i}" for i in firstnotsecond]
|
85 |
+
secondnotfirst = [f"https://youtu.be/{i}" for i in secondnotfirst]
|
86 |
return firstnotsecond, secondnotfirst, playlist1name, playlist2name
|
87 |
elif output == 'name':
|
88 |
firstnotsecond = [get_video_name(i) for i in firstnotsecond]
|