aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-08-29 18:57:44 +0600
committerSergey M․ <dstftw@gmail.com>2015-08-29 19:00:38 +0600
commit5e58956d0a057e7294af15bef5a22c675812a18b (patch)
tree81eae4003c4042990919b2024bb69230471ebad5 /youtube_dl
parente276fd2cb39a94b1f40f47a5c52913aac8557976 (diff)
[screenwavemedia] Add EMBED_PATTERN
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/screenwavemedia.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/screenwavemedia.py b/youtube_dl/extractor/screenwavemedia.py
index 671ea57d0..4d1379615 100644
--- a/youtube_dl/extractor/screenwavemedia.py
+++ b/youtube_dl/extractor/screenwavemedia.py
@@ -13,7 +13,7 @@ from ..utils import (
class ScreenwaveMediaIE(InfoExtractor):
_VALID_URL = r'http://player\d?\.screenwavemedia\.com/(?:play/)?[a-zA-Z]+\.php\?[^"]*\bid=(?P<id>.+)'
-
+ EMBED_PATTERN = r'src=(["\'])(?P<url>(?:https?:)?//player\d?\.screenwavemedia\.com/(?:play/)?[a-zA-Z]+\.php\?.*\bid=.+?)\1'
_TESTS = [{
'url': 'http://player.screenwavemedia.com/play/play.php?playerdiv=videoarea&companiondiv=squareAd&id=Cinemassacre-19911',
'only_matching': True,