Giter Club home page Giter Club logo

euserv_extend_pin's Introduction

Euserv_extend_pin

Euserv_extend captcha solver + pin code(Gmail)

安装依赖

pip3 install --upgrade google-api-python-client google-auth-httplib2 google-auth-oauthlib beautifulsoup4 requests pysocks

使用说明

  1. 修改 Euserv_extend.py 中的用户名,密码

USERNAME: 你的 EUserv 账户邮箱或 Customer ID

USERNAME = os.environ.get("EUSERV_USERNAME", "[email protected]")  # 用户名或邮箱
USERNAME = os.environ.get("EUSERV_USERNAME", "[email protected] [email protected]") # 多个账号写法

PASSWORD: 账户的密码

PASSWORD = os.environ.get("EUSERV_PASSWORD", "password")
PASSWORD = os.environ.get("EUSERV_PASSWORD", "password1 password2")
  1. 配置 TrueCaptcha 验证码接口

默认使用 TrueCaptcha 官方 Demo API。每个 APIKEY 每天有 100 次免费额度,建议自行注册以确保稳定性。

TRUECAPTCHA_USERID = 'arun56'
TRUECAPTCHA_APIKEY = 'wMjXmBIcHcdYqO2RrsVN'

检查 API 使用次数,一般为 True,保持默认即可

TRUECAPTCHA_CHECK_USAGE = True
  1. 设置代理(可选)

修改py文件

socks.set_default_proxy(socks.HTTP, "127.0.0.1", 10809)
socks.set_default_proxy(socks.SOCKS5, "127.0.0.1", 10808)
  1. 首次运行须在本地电脑运行获取token

    • 开启Gmail api https://console.cloud.google.com/apis
    • 创建 OAuth 2.0 client
      • Oauth 同意屏幕 发布应用.
      • 凭据 -> OAuth 2.0 client 设置 重定向url为http://localhost:36666/
      • 下载OAuth2.0 client 重命名为 credentials.json
    • 获取Gmail token
      • python3 gmail_api.py email1 email2 email3 ...
      • 浏览器打开console中链接,登入授权
  2. python3 Euserv_extend.py

euserv_extend_pin's People

Contributors

ggttyyy avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.