mirror of
https://github.com/CharlesPikachu/DecryptLogin.git
synced 2026-10-28 03:37:42 +08:00
b6dd596ad6975cd7d338ac8a74964ab382c28ffe
DecryptLogin
APIs for loginning some websites 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
Some Examples
- weiboMonitor: https://mp.weixin.qq.com/s/uOT1cGqXkOq-Hdc8TVnglg
Support List
| Websites | support PC API? | support mobile API? | in Chinese |
|---|---|---|---|
| No | Yes | 新浪微博 | |
| douban | Yes | No | 豆瓣 |
| GitHub | Yes | No | Github |
| Music163 | Yes | No | 网易云音乐 |
| 12306 | Yes | No | 中国铁路12306 |
| QQZone | No | Yes | QQ空间 |
| QQQun | No | Yes | QQ群 |
| QQId | No | Yes | QQ安全中心 |
Install
Use setup.py
Step1
git clone https://github.com/CharlesPikachu/DecryptLogin.git
Step2
cd DecryptLogin -> run "python setup.py install"
Use pip
pip install git+https://github.com/CharlesPikachu/DecryptLogin.git@master
Usage
Examples
from DecryptLogin import login
lg = login.Login()
session = lg.douban(username[telephone], password, 'pc')
session = lg.github(username[email], password, 'pc')
session = lg.weibo(username[telephone], password, 'mobile')
session = lg.music163(username[telephone/email], password, 'pc')
session = lg.zt12306(username[telephone], password, 'pc')
session = lg.QQZone('mobile')
session = lg.QQQun('mobile')
session = lg.QQId('mobile')
Arguments
username: your username.
password: your password.
version: pc/mobile.
More
WeChat Official Accounts
Description
DecryptLogin: APIs for loginning some websites by using requests.
46 MiB
Languages
Python
100%
