|
|
@ -7,6 +7,7 @@ from .common import InfoExtractor
|
|
|
|
from ..compat import (
|
|
|
|
from ..compat import (
|
|
|
|
compat_urlparse,
|
|
|
|
compat_urlparse,
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
from ..utils import ExtractorError
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class UstreamIE(InfoExtractor):
|
|
|
|
class UstreamIE(InfoExtractor):
|
|
|
@ -47,6 +48,9 @@ class UstreamIE(InfoExtractor):
|
|
|
|
'autoplay': False,
|
|
|
|
'autoplay': False,
|
|
|
|
}), video_id)
|
|
|
|
}), video_id)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if 'error' in params:
|
|
|
|
|
|
|
|
raise ExtractorError(params['error']['message'], expected=True)
|
|
|
|
|
|
|
|
|
|
|
|
video_url = params['flv']
|
|
|
|
video_url = params['flv']
|
|
|
|
|
|
|
|
|
|
|
|
webpage = self._download_webpage(url, video_id)
|
|
|
|
webpage = self._download_webpage(url, video_id)
|
|
|
|