Switched from youtube.com to youtu.be
This commit is contained in:
parent
d8d270a076
commit
9f174f66dc
|
@ -10,7 +10,7 @@ youtube_re = (r'(?:youtube.*?(?:v=|/v/)|youtu\.be/|yooouuutuuube.*?id=)'
|
|||
base_url = 'http://gdata.youtube.com/feeds/api/'
|
||||
url = base_url + 'videos/%s?v=2&alt=jsonc'
|
||||
search_api_url = base_url + 'videos?v=2&alt=jsonc&max-results=1'
|
||||
video_url = "http://youtube.com/watch?v=%s"
|
||||
video_url = "http://youtu.be/%s"
|
||||
|
||||
|
||||
def get_video_description(vid_id):
|
||||
|
|
Reference in a new issue