aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/mooshare.py
diff options
context:
space:
mode:
authorNaglis Jonaitis <njonaitis@gmail.com>2014-12-15 03:31:54 +0200
committerNaglis Jonaitis <njonaitis@gmail.com>2014-12-15 03:31:54 +0200
commit1bbe317508fa151336034eda4809d0fea1684667 (patch)
tree48260df1b8010a521d4bad24a54e2e9ab73125ca /youtube_dl/extractor/mooshare.py
parente97a534f13ef9bf3d8e9007b80344ca43b8f0a20 (diff)
[mooshare] Modernize
Diffstat (limited to 'youtube_dl/extractor/mooshare.py')
-rw-r--r--youtube_dl/extractor/mooshare.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/youtube_dl/extractor/mooshare.py b/youtube_dl/extractor/mooshare.py
index 9f2853fa3..4c5a4e673 100644
--- a/youtube_dl/extractor/mooshare.py
+++ b/youtube_dl/extractor/mooshare.py
@@ -64,8 +64,7 @@ class MooshareIE(InfoExtractor):
'http://mooshare.biz/%s' % video_id, compat_urllib_parse.urlencode(download_form))
request.add_header('Content-Type', 'application/x-www-form-urlencoded')
- self.to_screen('%s: Waiting for timeout' % video_id)
- time.sleep(5)
+ self._sleep(5, video_id)
video_page = self._download_webpage(request, video_id, 'Downloading video page')