From 6f9b54933f1380423258fa7fe478e002ca97027b Mon Sep 17 00:00:00 2001 From: Naglis Jonaitis Date: Mon, 15 Dec 2014 03:32:17 +0200 Subject: [PATCH] [streamcloud] Modernize --- youtube_dl/extractor/streamcloud.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/youtube_dl/extractor/streamcloud.py b/youtube_dl/extractor/streamcloud.py index 38176498dd..fd0cd3c0c2 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', }