mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-22 10:11:52 +00:00
[streamcloud] Modernize
This commit is contained in:
parent
1bbe317508
commit
6f9b54933f
1 changed files with 1 additions and 2 deletions
|
@ -40,8 +40,7 @@ class StreamcloudIE(InfoExtractor):
|
||||||
''', orig_webpage)
|
''', orig_webpage)
|
||||||
post = compat_urllib_parse.urlencode(fields)
|
post = compat_urllib_parse.urlencode(fields)
|
||||||
|
|
||||||
self.to_screen('%s: Waiting for timeout' % video_id)
|
self._sleep(12, video_id)
|
||||||
time.sleep(12)
|
|
||||||
headers = {
|
headers = {
|
||||||
b'Content-Type': b'application/x-www-form-urlencoded',
|
b'Content-Type': b'application/x-www-form-urlencoded',
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue