This commit is contained in:
j 2017-06-06 16:54:49 +02:00
parent 5e84e59f95
commit e30ae03f5f

View file

@ -160,7 +160,7 @@ def videos(id, format=''):
return streams return streams
def playlist(url): def playlist(url):
data = read_url(url) data = read_url(url).decode('utf-8')
items = [] items = []
for i in list(set(re.compile('<a href="(/watch\?v=.*?)" title="(.*?)" ').findall(data))): for i in list(set(re.compile('<a href="(/watch\?v=.*?)" title="(.*?)" ').findall(data))):
items.append({ items.append({