diff options
author | Sergey M․ <[email protected]> | 2014-04-05 15:49:45 +0700 |
---|---|---|
committer | Sergey M․ <[email protected]> | 2014-04-05 15:49:45 +0700 |
commit | 50f566076fe4167f0fd6028b0cde7046c5554e93 (patch) | |
tree | c8f3171824abdbcb7f41ecc5d8ec49c272b10051 | |
parent | 92810ff4978871f2861c80c1b174295740d34de6 (diff) | |
download | youtube-dl-50f566076fe4167f0fd6028b0cde7046c5554e93.tar.gz youtube-dl-50f566076fe4167f0fd6028b0cde7046c5554e93.zip |
[generic] Add support for videoweed embeds
-rw-r--r-- | youtube_dl/extractor/generic.py | 6 |
1 files changed, 6 insertions, 0 deletions
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'<iframe[^>]+?src=(["\'])(?P<url>http://(?:(?: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'<iframe[^>]+?src=(["\'])(?P<url>https://www\.facebook\.com/video/embed.+?)\1', webpage) |