mirror of
https://github.com/soimort/you-get.git
synced 2025-01-23 13:35:16 +03:00
[infoq] fix #957
This commit is contained in:
parent
bf9910ad97
commit
ad6fcf2557
@ -40,11 +40,9 @@ class Infoq(VideoExtractor):
|
||||
]
|
||||
request.install_opener(opener)
|
||||
|
||||
self.streams = {
|
||||
'video' : { 'url': s },
|
||||
'audio' : { 'url': mp3 },
|
||||
'slides' : { 'url': pdf }
|
||||
}
|
||||
if s: self.streams['video'] = {'url': s }
|
||||
if mp3: self.streams['audio'] = { 'url': mp3 }
|
||||
if pdf: self.streams['slides'] = { 'url': pdf }
|
||||
|
||||
def extract(self, **kwargs):
|
||||
for i in self.streams:
|
||||
|
Loading…
Reference in New Issue
Block a user