py3
This commit is contained in:
parent
5e84e59f95
commit
e30ae03f5f
1 changed files with 1 additions and 1 deletions
|
@ -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({
|
||||||
|
|
Loading…
Reference in a new issue