summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-07-10 03:31:21 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-07-10 03:31:21 +0200
commit08ee77db1b3ec0cd42e40e35c07c6c3882d940bf (patch)
tree3b8415df7e279e12aed721b65573146c6c15bf37 /module
parent[WarserverCz] Remove account (diff)
downloadpyload-08ee77db1b3ec0cd42e40e35c07c6c3882d940bf.tar.xz
[CaptchaService] Remove SolveMedia __init__
Diffstat (limited to 'module')
-rw-r--r--module/plugins/internal/CaptchaService.py22
1 files changed, 1 insertions, 21 deletions
diff --git a/module/plugins/internal/CaptchaService.py b/module/plugins/internal/CaptchaService.py
index 400484d26..30f9e8d14 100644
--- a/module/plugins/internal/CaptchaService.py
+++ b/module/plugins/internal/CaptchaService.py
@@ -1,28 +1,11 @@
# -*- coding: utf-8 -*-
-"""
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License,
- or (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- See the GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, see <http://www.gnu.org/licenses/>.
-
- @author: zoidberg
-"""
-
import re
from random import random
class CaptchaService():
- __version__ = "0.04"
+ __version__ = "0.05"
def __init__(self, plugin):
self.plugin = plugin
@@ -88,9 +71,6 @@ class AdsCaptcha(CaptchaService):
class SolveMedia(CaptchaService):
- def __init__(self, plugin):
- self.plugin = plugin
-
def challenge(self, src):
html = self.plugin.req.load("http://api.solvemedia.com/papi/challenge.noscript?k=%s" % src, cookies=True)
try: