From 52b5c2a15b2dfa9bcc2ffdcc90b8e3f29fdaa7d8 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Fri, 11 Apr 2014 12:17:38 +0200 Subject: Use wait to set time in SimpleHoster plugins Merges vuolter/pyload@bb002ac (cherry picked from commit 7f1467c64fe5c0e902498b3252afd65cb68ed2f9) --- pyload/plugins/hoster/FilefactoryCom.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'pyload/plugins/hoster/FilefactoryCom.py') diff --git a/pyload/plugins/hoster/FilefactoryCom.py b/pyload/plugins/hoster/FilefactoryCom.py index 97204a1a2..01119739b 100644 --- a/pyload/plugins/hoster/FilefactoryCom.py +++ b/pyload/plugins/hoster/FilefactoryCom.py @@ -63,8 +63,7 @@ class FilefactoryCom(SimpleHoster): waittime = re.search(r'id="startWait" value="(\d+)"', self.html) if not waittime: self.parseError('Unable to detect wait time') - self.setWait(int(waittime.group(1))) - self.wait() + self.wait(int(waittime.group(1))) # Parse the direct link and download it direct = re.search(r'data-href-direct="(.*)" class="button', self.html) -- cgit v1.2.3