diff options
author | Sergey M․ <dstftw@gmail.com> | 2017-05-04 22:41:47 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2017-05-04 22:41:47 +0700 |
commit | 7f09e523e87ab6fcf5713fbcd6767d00d98039e1 (patch) | |
tree | 802aa8b89164796964550aa2654d5b25e022b659 /youtube_dl | |
parent | 4fe14732a24214d030cdbdfc25e5906244be2dc2 (diff) |
[laola1tv:embed] Fix tests
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/laola1tv.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/extractor/laola1tv.py b/youtube_dl/extractor/laola1tv.py index e8853fb77..d9f53c356 100644 --- a/youtube_dl/extractor/laola1tv.py +++ b/youtube_dl/extractor/laola1tv.py @@ -19,7 +19,7 @@ from ..utils import ( class Laola1TvEmbedIE(InfoExtractor): IE_NAME = 'laola1tv:embed' _VALID_URL = r'https?://(?:www\.)?laola1\.tv/titanplayer\.php\?.*?\bvideoid=(?P<id>\d+)' - _TEST = { + _TESTS = [{ # flashvars.premium = "false"; 'url': 'https://www.laola1.tv/titanplayer.php?videoid=708065&type=V&lang=en&portal=int&customer=1024', 'info_dict': { @@ -29,7 +29,7 @@ class Laola1TvEmbedIE(InfoExtractor): 'uploader': 'ITTF - International Table Tennis Federation', 'upload_date': '20161211', }, - } + }] def _extract_token_url(self, stream_access_url, video_id, data): return self._download_json( |