From: Sergey M․ Date: Sat, 5 Apr 2014 08:49:45 +0000 (+0700) Subject: [generic] Add support for videoweed embeds X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=50f566076fe4167f0fd6028b0cde7046c5554e93;p=youtube-dl [generic] Add support for videoweed embeds --- diff --git a/youtube_dl/extractor/generic.py b/youtube_dl/extractor/generic.py index 238cc7125..1c45ebb00 100644 --- a/youtube_dl/extractor/generic.py +++ b/youtube_dl/extractor/generic.py @@ -523,6 +523,12 @@ class GenericIE(InfoExtractor): if mobj is not None: return self.url_result(mobj.group('url'), 'NowVideo') + # Look for embedded VideoWeed player + mobj = re.search( + r']+?src=(["\'])(?Phttp://(?:(?:embed|www)\.)?videoweed\.(?:es|com)/embed\.php.+?)\1', webpage) + if mobj is not None: + return self.url_result(mobj.group('url'), 'VideoWeed') + # Look for embedded Facebook player mobj = re.search( r']+?src=(["\'])(?Phttps://www\.facebook\.com/video/embed.+?)\1', webpage)