From fec9978f9aa9843d4867e2a0211e4b369f6d72fe Mon Sep 17 00:00:00 2001 From: Andrei Date: Sun, 29 Oct 2017 23:24:55 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9D=D0=B5=D0=B1=D0=BE=D0=BB=D1=8C=D1=88?= =?UTF-8?q?=D0=B8=D0=B5=20=D0=BF=D1=80=D0=B0=D0=B2=D0=BA=D0=B8=20=D0=BE?= =?UTF-8?q?=D0=BF=D0=B8=D1=81=D0=B0=D0=BD=D0=B8=D1=8F=20+=20=D0=BD=D0=BE?= =?UTF-8?q?=D0=B2=D0=B0=D1=8F=20=D0=B2=D0=B5=D1=80=D1=81=D0=B8=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- python3_anticaptcha/FunCaptchaTask.py | 3 ++- setup.py | 3 ++- test.py | 19 ------------------- 3 files changed, 4 insertions(+), 21 deletions(-) delete mode 100644 test.py diff --git a/python3_anticaptcha/FunCaptchaTask.py b/python3_anticaptcha/FunCaptchaTask.py index 5fa96de..af4cb32 100644 --- a/python3_anticaptcha/FunCaptchaTask.py +++ b/python3_anticaptcha/FunCaptchaTask.py @@ -13,7 +13,8 @@ class FunCaptchaTask: :param proxyType: Тип прокси http/socks5/socks4 :param proxyAddress: Адрес прокси-сервера :param proxyPort: Порт сервера - :param kwargs: Можно передать необязательные параметры и переопределить userAgent + :param kwargs: Можно передать необязательные параметры и переопределить userAgent, все необязательные параметры + описаны в документации к API на сайте антикапчи """ self.sleep_time = sleep_time diff --git a/setup.py b/setup.py index 94656e1..8f163d1 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from setuptools import setup setup( name='python3-anticaptcha', - version='0.9.8.b', + version='0.6', author='AndreiDrang, redV0ID', packages=['python3_anticaptcha'], @@ -10,6 +10,7 @@ setup( 'requests>=2.18', ], description='Python 3 AntiCaptcha library.', + url='https://github.com/AndreiDrang/python3-anticaptcha', author_email='drang.andray@gmail.com', license='MIT', keywords='''captcha diff --git a/test.py b/test.py deleted file mode 100644 index 6da9e04..0000000 --- a/test.py +++ /dev/null @@ -1,19 +0,0 @@ -from python3_anticaptcha import ImageToTextTask, config, AntiCaptchaControl, FunCaptchaTask, NoCaptchaTaskProxyless - -key = config.TEST_KEY -#print(ImageToTextTask.ImageToTextTask(key, save_format = 'const').captcha_handler('http://85.255.8.26/static/image/common_image_example/800070.png')) -#print(AntiCaptchaControl.AntiCaptchaControl(anticaptcha_key = config.TEST_KEY).complaint_on_result(reported_id = -5)) -print(AntiCaptchaControl.AntiCaptchaControl(anticaptcha_key = config.TEST_KEY).get_balance()) -''' -print(FunCaptchaTask.FunCaptchaTask(config.TEST_KEY, - proxyType='HTTP', - proxyAddress="8.8.8.8", - proxyPort=8080, - proxyLogin="proxyLoginHere", - proxyPassword="proxyPasswordHere") - .captcha_handler(websiteURL='85.450.48', - websitePublicKey='789456132')) -''' -print(NoCaptchaTaskProxyless.NoCaptchaTaskProxyless(anticaptcha_key=config.TEST_KEY) - .captcha_handler(websiteURL='https://www.google.com/recaptcha/intro/android.html', - websiteKey='6LeuMjIUAAAAAODtAglF13UiJys0y05EjZugej6b'))