[streamcloud] Modernize
authorNaglis Jonaitis <njonaitis@gmail.com>
Mon, 15 Dec 2014 01:32:17 +0000 (03:32 +0200)
committerNaglis Jonaitis <njonaitis@gmail.com>
Mon, 15 Dec 2014 01:32:17 +0000 (03:32 +0200)
youtube_dl/extractor/streamcloud.py

index 38176498dd05aeea99e45379984f31fdec994d5a..fd0cd3c0c23891eba243912911ccc933f427b9ab 100644 (file)
@@ -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',
         }