1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-12-22 16:57:40 +00:00

vimeo: Also accept URLs prefixed by www.

I hope that this doesn't break anything. `:)`
This commit is contained in:
Rogério Brito 2011-02-04 06:15:27 -02:00
parent f24c674b04
commit 8cc98b2358

View file

@ -1723,7 +1723,7 @@ class VimeoIE(InfoExtractor):
"""Information extractor for vimeo.com."""
# _VALID_URL matches Vimeo URLs
_VALID_URL = r'(?:http://)?vimeo\.com/([0-9]+)'
_VALID_URL = r'(?:http://)?(?:www.)?vimeo\.com/([0-9]+)'
def __init__(self, downloader=None):
InfoExtractor.__init__(self, downloader)