aboutsummaryrefslogtreecommitdiffstats
path: root/youtube_dl/extractor/dreisat.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2013-07-11 12:12:23 +0200
committerPhilipp Hagemeister <phihag@phihag.de>2013-07-11 12:12:30 +0200
commit690e872c51646fd99147f33be38fbbb74c91d8fb (patch)
treea2070faf61536e3cd85756558e8e8acdef7cb7c3 /youtube_dl/extractor/dreisat.py
parent81082e046eef7afa012076546b22e9f43d0c1e0f (diff)
downloadyoutube-dl-690e872c51646fd99147f33be38fbbb74c91d8fb.zip
youtube-dl-690e872c51646fd99147f33be38fbbb74c91d8fb.tar.gz
youtube-dl-690e872c51646fd99147f33be38fbbb74c91d8fb.tar.bz2
Remove video_result helper method
Calling it was more complex then actually including the type in the video info
Diffstat (limited to 'youtube_dl/extractor/dreisat.py')
-rw-r--r--youtube_dl/extractor/dreisat.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube_dl/extractor/dreisat.py b/youtube_dl/extractor/dreisat.py
index 847f733..64b4658 100644
--- a/youtube_dl/extractor/dreisat.py
+++ b/youtube_dl/extractor/dreisat.py
@@ -67,6 +67,7 @@ class DreiSatIE(InfoExtractor):
formats.sort(key=_sortkey)
info = {
+ '_type': 'video',
'id': video_id,
'title': video_title,
'formats': formats,
@@ -81,4 +82,4 @@ class DreiSatIE(InfoExtractor):
info['url'] = formats[-1]['url']
info['ext'] = determine_ext(formats[-1]['url'])
- return self.video_result(info) \ No newline at end of file
+ return info \ No newline at end of file