projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6348ad1
)
[xuite] Update tests
author
Yen Chi Hsuan
<yan12125@gmail.com>
Tue, 27 Jan 2015 17:30:14 +0000
(
01:30
+0800)
committer
Yen Chi Hsuan
<yan12125@gmail.com>
Tue, 27 Jan 2015 17:30:14 +0000
(
01:30
+0800)
youtube_dl/extractor/xuite.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/xuite.py
b/youtube_dl/extractor/xuite.py
index aef9a14a34a2852fbb1256d98473005f1ab5b8f1..8466d4bc58d557acf9f14513657cfdd36006e3d6 100644
(file)
--- a/
youtube_dl/extractor/xuite.py
+++ b/
youtube_dl/extractor/xuite.py
@@
-33,7
+33,10
@@
class XuiteIE(InfoExtractor):
'uploader_id': '15973816',
'uploader': '阿能',
'timestamp': 1314932940,
'uploader_id': '15973816',
'uploader': '阿能',
'timestamp': 1314932940,
- 'title': '孤單南半球-歐德陽'
+ 'title': '孤單南半球-歐德陽',
+ 'thumbnail': 're:^https?://.*\.jpg$',
+ 'categories': ['個人短片'],
+ 'duration': 247.246
}
}, {
# Audio with alternative form of url
}
}, {
# Audio with alternative form of url
@@
-47,6
+50,9
@@
class XuiteIE(InfoExtractor):
'uploader': '蠍',
'timestamp': 1293367080,
'title': '孫燕姿-眼淚成詩',
'uploader': '蠍',
'timestamp': 1293367080,
'title': '孫燕姿-眼淚成詩',
+ 'thumbnail': 're:^https?://.*\.jpg$',
+ 'categories': ['個人短片'],
+ 'duration': 223.19
}
}, {
# Video with only one format
}
}, {
# Video with only one format
@@
-60,6
+66,9
@@
class XuiteIE(InfoExtractor):
'uploader': 'Valen',
'timestamp': 1299383640,
'title': '孫燕姿 - 眼淚成詩',
'uploader': 'Valen',
'timestamp': 1299383640,
'title': '孫燕姿 - 眼淚成詩',
+ 'thumbnail': 're:^https?://.*\.jpg$',
+ 'categories': ['影視娛樂'],
+ 'duration': 217.399
}
}, {
# Video with two formats
}
}, {
# Video with two formats
@@
-73,6
+82,9
@@
class XuiteIE(InfoExtractor):
'uploader': '我只是想認真點',
'timestamp': 1421481240,
'title': '暗殺教室 02',
'uploader': '我只是想認真點',
'timestamp': 1421481240,
'title': '暗殺教室 02',
+ 'thumbnail': 're:^https?://.*\.jpg$',
+ 'categories': ['電玩動漫'],
+ 'duration': 1384.907
}
}]
}
}]