projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[dailymotion] Error spelling
[youtube-dl]
/
youtube_dl
/
extractor
/
streamcloud.py
diff --git
a/youtube_dl/extractor/streamcloud.py
b/youtube_dl/extractor/streamcloud.py
index c1178f26de0b961ad68eb6d1ddb89550746f4dd7..d4e1340158da92de09776b39a4dfebe8e38aeddf 100644
(file)
--- a/
youtube_dl/extractor/streamcloud.py
+++ b/
youtube_dl/extractor/streamcloud.py
@@
-2,10
+2,9
@@
from __future__ import unicode_literals
import re
from __future__ import unicode_literals
import re
-import time
from .common import InfoExtractor
from .common import InfoExtractor
-from ..
utils
import (
+from ..
compat
import (
compat_urllib_parse,
compat_urllib_request,
)
compat_urllib_parse,
compat_urllib_request,
)
@@
-40,8
+39,7
@@
class StreamcloudIE(InfoExtractor):
''', orig_webpage)
post = compat_urllib_parse.urlencode(fields)
''', orig_webpage)
post = compat_urllib_parse.urlencode(fields)
- self.to_screen('%s: Waiting for timeout' % video_id)
- time.sleep(12)
+ self._sleep(12, video_id)
headers = {
b'Content-Type': b'application/x-www-form-urlencoded',
}
headers = {
b'Content-Type': b'application/x-www-form-urlencoded',
}