Spaces:
Running
Running
DebasishDhal99
commited on
Commit
•
39d0fe5
1
Parent(s):
5266a81
Replacing the complicated id extractor with a simpler one
Browse files- playlists_mismatch.py +1 -0
playlists_mismatch.py
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
from urllib.parse import urlparse, parse_qs
|
|
|
2 |
|
3 |
def playlists_mismatch_func(playlistlink1, playlistlink2, output = 'link'):
|
4 |
"""Return the ids of videos that are only one of the playlists, and not in the other"""
|
|
|
1 |
from urllib.parse import urlparse, parse_qs
|
2 |
+
import re
|
3 |
|
4 |
def playlists_mismatch_func(playlistlink1, playlistlink2, output = 'link'):
|
5 |
"""Return the ids of videos that are only one of the playlists, and not in the other"""
|