Browse Source

[streamcloud] Modernize

master
Naglis Jonaitis 10 years ago
parent
commit
6f9b54933f
1 changed files with 1 additions and 2 deletions
  1. 3
      youtube_dl/extractor/streamcloud.py

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

Loading…
Cancel
Save