add www.
This commit is contained in:
parent
27df553ffb
commit
d7bd98d63a
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ def playlist(url):
|
||||||
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({
|
||||||
'title': i[1],
|
'title': i[1],
|
||||||
'url': 'http://youtube.com' + i[0].split('&')[0]
|
'url': 'http://www.youtube.com' + i[0].split('&')[0]
|
||||||
})
|
})
|
||||||
return items
|
return items
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue