1
mirror of https://github.com/yt-dlp/yt-dlp synced 2024-12-04 13:45:17 +01:00

[streamcloud] Modernize

This commit is contained in:
Naglis Jonaitis 2014-12-15 03:32:17 +02:00
parent 1bbe317508
commit 6f9b54933f

View 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',
}