summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/DateiTo.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/DateiTo.py')
-rw-r--r--module/plugins/hoster/DateiTo.py9
1 files changed, 3 insertions, 6 deletions
diff --git a/module/plugins/hoster/DateiTo.py b/module/plugins/hoster/DateiTo.py
index f63541a10..3a584f8c7 100644
--- a/module/plugins/hoster/DateiTo.py
+++ b/module/plugins/hoster/DateiTo.py
@@ -3,13 +3,13 @@
import re
from module.plugins.captcha.ReCaptcha import ReCaptcha
-from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo
+from module.plugins.internal.SimpleHoster import SimpleHoster
class DateiTo(SimpleHoster):
__name__ = "DateiTo"
__type__ = "hoster"
- __version__ = "0.12"
+ __version__ = "0.13"
__status__ = "testing"
__pattern__ = r'http://(?:www\.)?datei\.to/datei/(?P<ID>\w+)\.html'
@@ -37,7 +37,7 @@ class DateiTo(SimpleHoster):
def handle_free(self, pyfile):
url = 'http://datei.to/ajax/download.php'
data = {'P': 'I', 'ID': self.info['pattern']['ID']}
- recaptcha = ReCaptcha(self)
+ recaptcha = ReCaptcha(pyfile)
for _i in xrange(3):
self.log_debug("URL", url, "POST", data)
@@ -72,6 +72,3 @@ class DateiTo(SimpleHoster):
self.load('http://datei.to/ajax/download.php', post={'P': 'Ads'})
self.wait(wait_time, False)
-
-
-getInfo = create_getInfo(DateiTo)