projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
bcc334a
)
[dtube] Update test
author
Sergey M․
<dstftw@gmail.com>
Tue, 8 Jan 2019 01:46:34 +0000
(08:46 +0700)
committer
Sergey M․
<dstftw@gmail.com>
Tue, 8 Jan 2019 01:46:34 +0000
(08:46 +0700)
youtube_dl/extractor/dtube.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/dtube.py
b/youtube_dl/extractor/dtube.py
index 20190c9cc4264c7b902a104346601f8ec1a12cb2..114d2dbe34e94c3d517cd8ea8230379d3d13f908 100644
(file)
--- a/
youtube_dl/extractor/dtube.py
+++ b/
youtube_dl/extractor/dtube.py
@@
-15,16
+15,16
@@
from ..utils import (
class DTubeIE(InfoExtractor):
_VALID_URL = r'https?://(?:www\.)?d\.tube/(?:#!/)?v/(?P<uploader_id>[0-9a-z.-]+)/(?P<id>[0-9a-z]{8})'
_TEST = {
class DTubeIE(InfoExtractor):
_VALID_URL = r'https?://(?:www\.)?d\.tube/(?:#!/)?v/(?P<uploader_id>[0-9a-z.-]+)/(?P<id>[0-9a-z]{8})'
_TEST = {
- 'url': 'https://d.tube/#!/v/b
enswann/zqd630em
',
- 'md5': '
a03eaa186618ffa7a3145945543a251
e',
+ 'url': 'https://d.tube/#!/v/b
roncnutz/x380jtr1
',
+ 'md5': '
9f29088fa08d699a7565ee983f56a06
e',
'info_dict': {
'info_dict': {
- 'id': '
zqd630em
',
+ 'id': '
x380jtr1
',
'ext': 'mp4',
'ext': 'mp4',
- 'title': '
Reality Check: FDA\'s Disinformation Campaign on Kratom
',
- 'description': 'md5:
700d164e066b87f9eac057949e4227c2
',
- 'uploader_id': 'b
enswann
',
- 'upload_date': '201
80222
',
- 'timestamp': 15
19328958
,
+ 'title': '
Lefty 3-Rings is Back Baby!! NCAA Picks
',
+ 'description': 'md5:
60be222088183be3a42f196f34235776
',
+ 'uploader_id': 'b
roncnutz
',
+ 'upload_date': '201
90107
',
+ 'timestamp': 15
46854054
,
},
'params': {
'format': '480p',
},
'params': {
'format': '480p',