aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/sendtonews.py
diff options
context:
space:
mode:
authorYen Chi Hsuan <yan12125@gmail.com>2017-02-16 23:42:36 +0800
committerYen Chi Hsuan <yan12125@gmail.com>2017-02-16 23:44:03 +0800
commita4a554a79354981fcab55de8eaab7b95a40bbb48 (patch)
tree50e68b423872a31878a8b068e035118f722993cd /youtube_dl/extractor/sendtonews.py
parentb898f0a173fa040ddf95dbd97650cec07a8f19f5 (diff)
[generic] Try parsing JWPlayer embedded videos (closes #12030)
Diffstat (limited to 'youtube_dl/extractor/sendtonews.py')
-rw-r--r--youtube_dl/extractor/sendtonews.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/extractor/sendtonews.py b/youtube_dl/extractor/sendtonews.py
index 9880a5a78..9d9652949 100644
--- a/youtube_dl/extractor/sendtonews.py
+++ b/youtube_dl/extractor/sendtonews.py
@@ -3,7 +3,7 @@ from __future__ import unicode_literals
import re
-from .jwplatform import JWPlatformBaseIE
+from .common import InfoExtractor
from ..utils import (
float_or_none,
parse_iso8601,
@@ -14,7 +14,7 @@ from ..utils import (
)
-class SendtoNewsIE(JWPlatformBaseIE):
+class SendtoNewsIE(InfoExtractor):
_VALID_URL = r'https?://embed\.sendtonews\.com/player2/embedplayer\.php\?.*\bSC=(?P<id>[0-9A-Za-z-]+)'
_TEST = {