xfsprogram / DecryptLogin

Login some website using requests.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DecryptLogin

Login some website using requests.
You can star this repository to keep track of the project if it's helpful for you, thank you for your support.

Introduction in Chinese

https://mp.weixin.qq.com/s/lctw2dGjOesXrfvkNhzYfQ

Done

weibo

  • PC
  • mobile → in src/platforms/weibo.py

douban

  • PC → in src/platforms/douban.py
  • mobile

QQ zone

  • PC
  • mobile

GitHub

  • PC → in src/platforms/github.py
  • mobile

WeChat

  • PC
  • mobile

Music163

  • PC → in src/platforms/music163.py
  • mobile

12306

  • PC → in src/platforms/zt12306.py
  • mobile

Install

Use setup.py

Step1

git clone https://github.com/CharlesPikachu/DecryptLogin.git

Step2

cd DecryptLogin -> run "python setup.py install"

Use install

pip install git+https://github.com/CharlesPikachu/DecryptLogin.git@master

Usage

Example

from DecryptLogin import login
l = login.Login()
session = l.douban(username[telephone], password, 'pc')
session = l.github(username[email], password, 'pc')
session = l.weibo(username[telephone], password, 'mobile')
session = l.music163(username[telephone/email], password, 'pc')
session = l.zt12306(username[telephone], password, 'pc')

Explain

username: your username.
password: your password.
version: pc/mobile.

More

WeChat Official Accounts

Charles_pikachu
img

About

Login some website using requests.

License:GNU Affero General Public License v3.0


Languages

Language:Python 100.0%