aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2013-06-27 20:20:00 +0200
committerPhilipp Hagemeister <phihag@phihag.de>2013-06-27 20:20:00 +0200
commit082177146629bf96696bc0c9060c90fc8aa7e111 (patch)
tree0783b3d79143cf574cd85787dc49d10e80d43125 /youtube_dl
parent83f6f68e7987ce20f823c43a02517269dde12bee (diff)
[steam] move test
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/steam.py21
1 files changed, 21 insertions, 0 deletions
diff --git a/youtube_dl/extractor/steam.py b/youtube_dl/extractor/steam.py
index 30cb83208..b81802961 100644
--- a/youtube_dl/extractor/steam.py
+++ b/youtube_dl/extractor/steam.py
@@ -16,6 +16,27 @@ class SteamIE(InfoExtractor):
"""
_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'
+ _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
def suitable(cls, url):