aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/streamcloud.py
diff options
context:
space:
mode:
authorNaglis Jonaitis <njonaitis@gmail.com>2014-12-15 03:32:17 +0200
committerNaglis Jonaitis <njonaitis@gmail.com>2014-12-15 03:32:17 +0200
commit6f9b54933f1380423258fa7fe478e002ca97027b (patch)
treed669c693b155a64b93e4fe228a32d455fb651649 /youtube_dl/extractor/streamcloud.py
parent1bbe317508fa151336034eda4809d0fea1684667 (diff)
[streamcloud] Modernize
Diffstat (limited to 'youtube_dl/extractor/streamcloud.py')
-rw-r--r--youtube_dl/extractor/streamcloud.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/youtube_dl/extractor/streamcloud.py b/youtube_dl/extractor/streamcloud.py
index 38176498d..fd0cd3c0c 100644
--- a/youtube_dl/extractor/streamcloud.py
+++ b/youtube_dl/extractor/streamcloud.py
@@ -40,8 +40,7 @@ class StreamcloudIE(InfoExtractor):
''', 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',
}