1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-12-28 09:29:57 +01:00

Merge pull request #292 from rbrito/fixes/vimeo-ie

VimeoIE: Allow matches taken from embedded videos.
This commit is contained in:
Philipp Hagemeister 2012-02-26 14:25:12 -08:00
commit 895ec266bb

View File

@ -2014,7 +2014,7 @@ class VimeoIE(InfoExtractor):
"""Information extractor for vimeo.com."""
# _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/[^/]+/)?(?:videos?/)?(?:moogaloop.swf\?clip_id=)?([0-9]+)'
IE_NAME = u'vimeo'
def __init__(self, downloader=None):