##// END OF EJS Templates
Allow youtube links without "www."
neko259 -
r1490:c93d62e4 default
parent child Browse files
Show More
@@ -17,7 +17,7 b" HEADER_CONTENT_TYPE = 'content-type'"
17
17
18 FILE_DOWNLOAD_CHUNK_BYTES = 200000
18 FILE_DOWNLOAD_CHUNK_BYTES = 200000
19
19
20 YOUTUBE_URL = re.compile(r'https?://(www\.youtube\.com/watch\?v=|youtu.be/)\w+')
20 YOUTUBE_URL = re.compile(r'https?://((www\.)?youtube\.com/watch\?v=|youtu.be/)\w+')
21
21
22
22
23 class Downloader:
23 class Downloader:
General Comments 0
You need to be logged in to leave comments. Login now