projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[youtube] update algo for length 82 (fixes #1296)
[youtube-dl]
/
youtube_dl
/
extractor
/
dreisat.py
diff --git
a/youtube_dl/extractor/dreisat.py
b/youtube_dl/extractor/dreisat.py
index 56227c76297634f21513c6286b05c5a580c5243d..64b4658053cd98d0313071dccc05548384098ae7 100644
(file)
--- a/
youtube_dl/extractor/dreisat.py
+++ b/
youtube_dl/extractor/dreisat.py
@@
-6,7
+6,6
@@
import xml.etree.ElementTree
from .common import InfoExtractor
from ..utils import (
determine_ext,
from .common import InfoExtractor
from ..utils import (
determine_ext,
- ExtractorError,
unified_strdate,
)
unified_strdate,
)
@@
-68,6
+67,7
@@
class DreiSatIE(InfoExtractor):
formats.sort(key=_sortkey)
info = {
formats.sort(key=_sortkey)
info = {
+ '_type': 'video',
'id': video_id,
'title': video_title,
'formats': formats,
'id': video_id,
'title': video_title,
'formats': formats,
@@
-82,4
+82,4
@@
class DreiSatIE(InfoExtractor):
info['url'] = formats[-1]['url']
info['ext'] = determine_ext(formats[-1]['url'])
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