projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4fe1473
)
[laola1tv:embed] Fix tests
author
Sergey M․
<dstftw@gmail.com>
Thu, 4 May 2017 15:41:47 +0000
(22:41 +0700)
committer
Sergey M․
<dstftw@gmail.com>
Thu, 4 May 2017 15:41:47 +0000
(22:41 +0700)
youtube_dl/extractor/laola1tv.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/laola1tv.py
b/youtube_dl/extractor/laola1tv.py
index e8853fb779976f42d19b41633b91887a18884a9e..d9f53c35665352b0d0a6e9b7b974b6d20d478160 100644
(file)
--- 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+)'
class Laola1TvEmbedIE(InfoExtractor):
IE_NAME = 'laola1tv:embed'
_VALID_URL = r'https?://(?:www\.)?laola1\.tv/titanplayer\.php\?.*?\bvideoid=(?P<id>\d+)'
- _TEST
=
{
+ _TEST
S = [
{
# flashvars.premium = "false";
'url': 'https://www.laola1.tv/titanplayer.php?videoid=708065&type=V&lang=en&portal=int&customer=1024',
'info_dict': {
# 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',
},
'uploader': 'ITTF - International Table Tennis Federation',
'upload_date': '20161211',
},
- }
+ }
]
def _extract_token_url(self, stream_access_url, video_id, data):
return self._download_json(
def _extract_token_url(self, stream_access_url, video_id, data):
return self._download_json(