diff options
Diffstat (limited to 'module/plugins/Plugin.py')
-rw-r--r-- | module/plugins/Plugin.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/module/plugins/Plugin.py b/module/plugins/Plugin.py index 19b5983a6..29fdebde8 100644 --- a/module/plugins/Plugin.py +++ b/module/plugins/Plugin.py @@ -24,6 +24,8 @@ from os.path import join from time import time from time import sleep +from random import randint + import sys from os.path import exists @@ -185,6 +187,7 @@ class Plugin(object): Ocr = self.core.pluginManager.getCaptchaPlugin(self.__name__) if Ocr: + sleep(randint(3000, 5000) / 1000.0) ocr = Ocr() result = ocr.get_captcha(temp.name) else: |