Login some website using requests.
Project description
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.
Documents
In Chinese
https://httpsgithubcomcharlespikachudecryptlogin.readthedocs.io/zh/latest/
In English
https://httpsgithubcomcharlespikachudecryptlogin.readthedocs.io/en/latest/
Support List
| Websites | support PC API? | support mobile API? | in Chinese |
|---|---|---|---|
| ✓ | ✓ | 新浪微博 | |
| douban | ✓ | ✗ | 豆瓣 |
| github | ✓ | ✗ | Github |
| music163 | ✓ | ✗ | 网易云音乐 |
| zt12306 | ✓ | ✗ | 中国铁路12306 |
| QQZone | ✗ | ✓ | QQ空间 |
| QQQun | ✗ | ✓ | QQ群 |
| QQId | ✗ | ✓ | 我的QQ中心 |
| zhihu | ✓ | ✗ | 知乎 |
| bilibili | ✓ | ✓ | B站 |
| toutiao | ✗ | ✓ | 今日头条 |
| taobao | ✓ | ✗ | 淘宝 |
| jingdong | ✓ | ✗ | 京东 |
| ifeng | ✓ | ✗ | 凤凰网 |
| sohu | ✓ | ✓ | 搜狐 |
| zgconline | ✓ | ✗ | 中关村在线 |
| lagou | ✓ | ✗ | 拉勾网 |
| ✓ | ✗ | 推特 | |
| Vultr | ✓ | ✗ | Vultr |
| eSurfing | ✓ | ✗ | 天翼 |
| renren | ✓ | ✗ | 人人网 |
| w3cschool | ✓ | ✗ | W3Cschool(编程狮) |
| fishc | ✓ | ✗ | 鱼C论坛 |
| youdao | ✓ | ✗ | 有道 |
| baidupan | ✓ | ✗ | 百度网盘 |
| stackoverflow | ✓ | ✗ | stackoverflow |
| codalab | ✓ | ✗ | codalab |
Some Cases by Using DecryptLogin
| Name | Introduction | code | in Chinese |
|---|---|---|---|
| weiboMonitor | click | click | 微博监控 |
| QQReport | click | click | 生成QQ个人专属报告 |
| bilibiliDownloadUserVideos | click | click | 下载B站指定UP主的所有视频 |
| NeteaseSongListDownloader | click | click | 网易云个人歌单下载器 |
| NeteaseListenLeaderboard | click | click | 网易云个人听歌排行榜 |
| userWeiboSpider | click | click | 下载指定微博用户的所有微博数据 |
| NeteaseSignin | click | click | 网易云音乐自动签到 |
| weiboEmoji | click | click | 微博表情包爬取 |
| weiboSender | click | click | 大吼一声发微博 |
Install
Pip install
run "pip install DecryptLogin"
Source code install
(1) Offline
Step1: git clone https://github.com/CharlesPikachu/DecryptLogin.git
Step2: cd DecryptLogin -> run "python setup.py install"
(2) Online
run "pip install git+https://github.com/CharlesPikachu/DecryptLogin.git@master"
Quick Start
from DecryptLogin import login
lg = login.Login()
infos_return, session = lg.douban(username[telephone], password, 'pc')
infos_return, session = lg.github(username[email], password, 'pc')
infos_return, session = lg.weibo(username[telephone], password, 'mobile')
infos_return, session = lg.music163(username[telephone/email], password, 'pc')
infos_return, session = lg.zt12306(username[telephone], password, 'pc')
infos_return, session = lg.QQZone('mobile')
infos_return, session = lg.QQQun('mobile')
infos_return, session = lg.QQId('mobile')
infos_return, session = lg.zhihu(username, password, 'pc')
infos_return, session = lg.bilibili(username, password, 'pc')
infos_return, session = lg.toutiao(username, password, 'mobile')
infos_return, session = lg.taobao('pc')
infos_return, session = lg.jingdong('pc')
infos_return, session = lg.ifeng(username, password, 'pc')
infos_return, session = lg.sohu(username, password, 'mobile')
infos_return, session = lg.zgconline(username, password, 'pc')
infos_return, session = lg.lagou(username, password, 'pc')
infos_return, session = lg.twitter(username, password, 'pc')
infos_return, session = lg.vultr(username, password, 'pc')
infos_return, session = lg.eSurfing(username, password, 'pc')
infos_return, session = lg.renren(username, password, 'pc')
infos_return, session = lg.w3cschool(username, password, 'pc')
infos_return, session = lg.fishc(username, password, 'pc')
infos_return, session = lg.youdao(username, password, 'pc')
infos_return, session = lg.baidupan(username, password, 'pc')
infos_return, session = lg.stackoverflow(username, password, 'pc')
infos_return, session = lg.codalab(username, password, 'pc')
Thanks List
| Author | Time | Contribution |
|---|---|---|
| @skygongque | 2020-02-13 | add verification code processing in (weibo, pc) |
More
WeChat Official Accounts
Charles_pikachu
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
DecryptLogin-0.1.21.tar.gz
(54.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file DecryptLogin-0.1.21.tar.gz.
File metadata
- Download URL: DecryptLogin-0.1.21.tar.gz
- Upload date:
- Size: 54.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
307ca6fe4c675bc82e5a617c16ddc473c4cc567ce8c1652374501e1d285be3fb
|
|
| MD5 |
5e431a42fddf2bb6abb72e8d2a2b823e
|
|
| BLAKE2b-256 |
d8054c61348cc0485348c7f179da160261069d1cdfd5eede365f26aff7bec64c
|
File details
Details for the file DecryptLogin-0.1.21-py3-none-any.whl.
File metadata
- Download URL: DecryptLogin-0.1.21-py3-none-any.whl
- Upload date:
- Size: 90.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d3729eb9b70ffb63b963d86b12012d2720839f8a2da617a29d9beb8331f2f3ec
|
|
| MD5 |
4d18641a0d75230ff694d9440d581511
|
|
| BLAKE2b-256 |
49f553f218922a04f421fa656e86d27a6aa29fe009728859306b60fa8de424df
|