[steam] move test
This commit is contained in:
parent
83f6f68e79
commit
0821771466
@ -176,26 +176,6 @@
|
|||||||
"title": "Heart-Shaped Box: Literal Video Version"
|
"title": "Heart-Shaped Box: Literal Video Version"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "Steam",
|
|
||||||
"url": "http://store.steampowered.com/video/105600/",
|
|
||||||
"playlist": [
|
|
||||||
{
|
|
||||||
"file": "81300.flv",
|
|
||||||
"md5": "f870007cee7065d7c76b88f0a45ecc07",
|
|
||||||
"info_dict": {
|
|
||||||
"title": "Terraria 1.1 Trailer"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"file": "80859.flv",
|
|
||||||
"md5": "61aaf31a5c5c3041afb58fb83cbb5751",
|
|
||||||
"info_dict": {
|
|
||||||
"title": "Terraria Trailer"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "Ustream",
|
"name": "Ustream",
|
||||||
"url": "http://www.ustream.tv/recorded/20274954",
|
"url": "http://www.ustream.tv/recorded/20274954",
|
||||||
|
@ -16,6 +16,27 @@ class SteamIE(InfoExtractor):
|
|||||||
"""
|
"""
|
||||||
_VIDEO_PAGE_TEMPLATE = 'http://store.steampowered.com/video/%s/'
|
_VIDEO_PAGE_TEMPLATE = 'http://store.steampowered.com/video/%s/'
|
||||||
_AGECHECK_TEMPLATE = 'http://store.steampowered.com/agecheck/video/%s/?snr=1_agecheck_agecheck__age-gate&ageDay=1&ageMonth=January&ageYear=1970'
|
_AGECHECK_TEMPLATE = 'http://store.steampowered.com/agecheck/video/%s/?snr=1_agecheck_agecheck__age-gate&ageDay=1&ageMonth=January&ageYear=1970'
|
||||||
|
_TEST = {
|
||||||
|
u"name": u"Steam",
|
||||||
|
u"url": u"http://store.steampowered.com/video/105600/",
|
||||||
|
u"playlist": [
|
||||||
|
{
|
||||||
|
u"file": u"81300.flv",
|
||||||
|
u"md5": u"f870007cee7065d7c76b88f0a45ecc07",
|
||||||
|
u"info_dict": {
|
||||||
|
u"title": u"Terraria 1.1 Trailer"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
u"file": u"80859.flv",
|
||||||
|
u"md5": u"61aaf31a5c5c3041afb58fb83cbb5751",
|
||||||
|
u"info_dict": {
|
||||||
|
u"title": u"Terraria Trailer"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def suitable(cls, url):
|
def suitable(cls, url):
|
||||||
|
Loading…
Reference in New Issue
Block a user