mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-24 11:51:11 +01:00
[mooshare] Modernize
This commit is contained in:
parent
e97a534f13
commit
1bbe317508
|
@ -64,8 +64,7 @@ def _real_extract(self, url):
|
||||||
'http://mooshare.biz/%s' % video_id, compat_urllib_parse.urlencode(download_form))
|
'http://mooshare.biz/%s' % video_id, compat_urllib_parse.urlencode(download_form))
|
||||||
request.add_header('Content-Type', 'application/x-www-form-urlencoded')
|
request.add_header('Content-Type', 'application/x-www-form-urlencoded')
|
||||||
|
|
||||||
self.to_screen('%s: Waiting for timeout' % video_id)
|
self._sleep(5, video_id)
|
||||||
time.sleep(5)
|
|
||||||
|
|
||||||
video_page = self._download_webpage(request, video_id, 'Downloading video page')
|
video_page = self._download_webpage(request, video_id, 'Downloading video page')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user