diff options
author | Yen Chi Hsuan <yan12125@gmail.com> | 2016-04-25 23:49:12 +0800 |
---|---|---|
committer | Yen Chi Hsuan <yan12125@gmail.com> | 2016-04-25 23:49:12 +0800 |
commit | e3de3d6f2f9c82683e76b6bc12697aa7264372ca (patch) | |
tree | 4d5f7a0c9c5117fe80a7e140d88b4bdb1b8ef5c8 /youtube_dl/extractor/screenwavemedia.py | |
parent | ad58942d57996f7f43601f22c85b8c6a9afe1b09 (diff) |
[normalboots] Fix extraction
Now it's using ScreenwaveMedia
Diffstat (limited to 'youtube_dl/extractor/screenwavemedia.py')
-rw-r--r-- | youtube_dl/extractor/screenwavemedia.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/screenwavemedia.py b/youtube_dl/extractor/screenwavemedia.py index 44b0bbee6..40333c825 100644 --- a/youtube_dl/extractor/screenwavemedia.py +++ b/youtube_dl/extractor/screenwavemedia.py @@ -12,7 +12,7 @@ from ..utils import ( class ScreenwaveMediaIE(InfoExtractor): - _VALID_URL = r'https?://player\d?\.screenwavemedia\.com/(?:play/)?[a-zA-Z]+\.php\?.*\bid=(?P<id>[A-Za-z0-9-]+)' + _VALID_URL = r'(?:https?:)?//player\d?\.screenwavemedia\.com/(?:play/)?[a-zA-Z]+\.php\?.*\bid=(?P<id>[A-Za-z0-9-]+)' 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', |