1
0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-11 03:47:34 +00:00

Merge pull request #538 from zejn/patch-1

Also enable album URLs on Vimeo.
This commit is contained in:
Philipp Hagemeister 2012-11-25 18:04:11 -08:00
commit 6b50761222

View File

@ -1030,7 +1030,7 @@ class VimeoIE(InfoExtractor):
"""Information extractor for vimeo.com.""" """Information extractor for vimeo.com."""
# _VALID_URL matches Vimeo URLs # _VALID_URL matches Vimeo URLs
_VALID_URL = r'(?:https?://)?(?:(?:www|player).)?vimeo\.com/(?:groups/[^/]+/)?(?:videos?/)?([0-9]+)' _VALID_URL = r'(?:https?://)?(?:(?:www|player).)?vimeo\.com/(?:(?:groups|album)/[^/]+/)?(?:videos?/)?([0-9]+)'
IE_NAME = u'vimeo' IE_NAME = u'vimeo'
def __init__(self, downloader=None): def __init__(self, downloader=None):