DecryptLogin: APIs for loginning some websites by using requests.
APACHE-2.0 License
Documents-CN: https://httpsgithubcomcharlespikachudecryptlogin.readthedocs.io/zh/latest/
Documents-EN: https://httpsgithubcomcharlespikachudecryptlogin.readthedocs.io/en/latest/
APIs for loginning some websites by using requests.
You can star this repository to keep track of the project if it's helpful for you, thank you for your support.
This repo is created for learning python.
If I find that anyone leverage this project in an illegal way, I will delete this project immediately.
python, ,
Preparation
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"
Website_EN | PC Mode | Mobile Mode | ScanQR Mode | Website_CN |
---|---|---|---|---|
douban | ||||
github | Github | |||
music163 | ||||
zt12306 | 12306 | |||
QQZone | ||||
QQQun | ||||
QQId | ||||
zhihu | ||||
bilibili | B | |||
toutiao | ||||
taobao | ||||
jingdong | ||||
ifeng | ||||
sohu | ||||
zgconline | ||||
lagou | ||||
eSurfing | ||||
renren | ||||
w3cschool | W3Cschool() | |||
fishc | C | |||
youdao | ||||
baidupan | ||||
stackoverflow | Stackoverflow | |||
codalab | CodaLab | |||
pypi | PyPi | |||
douyu | ||||
migu | ||||
qunar | ||||
mieshop | ||||
mpweixin | ||||
baidutieba | ||||
dazhongdianping | ||||
jianguoyun | ||||
cloud189 | ||||
qqmusic | ||||
ximalaya | ||||
icourse163 | MOOC | |||
xiaomihealth | ||||
tencentvideo | ||||
baidu | ||||
alipan |
login.Login
from DecryptLogin import login
# the instanced Login class object
lg = login.Login()
# use the provided api function to login in the target website (e.g., twitter)
infos_return, session = lg.twitter(username='Your Username', password='Your Password')
login.Client
from DecryptLogin import login
# the instanced client
client = login.Client()
# the instanced weibo
weibo = client.weibo(reload_history=True)
# use the login function to login in weibo
infos_return, session = weibo.login('me', 'pass', 'scanqr')
Preparation
Pip install
run "pip install DecryptLoginExamples"
Project_EN | Introduction | Core Code | Project_CN |
---|---|---|---|
weibomonitor | click | click | |
qqreports | click | click | |
bilibiliuservideos | click | click | BUP |
neteasesonglistdownloader | click | click | |
neteaselistenleaderboard | click | click | |
userweibospider | click | click | |
neteasesignin | click | click | |
weiboemoji | click | click | |
weibosender | click | click | |
tbgoods | click | click | |
jdgoods | click | click | |
delallweibos | click | click | |
clearqzone | click | click | |
neteaseeveryday | click | click | |
neteaseclickplaylist | click | click | |
cloud189signin | click | click | + |
moocdl | click | click | MOOC |
modifymihealthsteps | click | click | |
taobaosnap | click | click | |
jingdongsnap | click | click | |
bilibiliupmonitor | click | click | BUP |
bilibililottery | click | click | BUP |
weibowater | click | click | |
weiboblacklist | click | click | |
weibolottery | click | click |
from DecryptLoginExamples import client
config = {
'username': 'charlespikachu',
'time_interval': 1800,
}
crawler_executor = client.Client()
crawler_executor.executor('bilibililottery', config=config)
Author | Time | Contribution |
---|---|---|
@skygongque | 2020-02-13 | add verification code processing in (weibo, pc) |
If you use this project in your research, please cite this project:
@misc{decryptlogin2020,
author = {Zhenchao Jin},
title = {DecryptLogin: APIs for loginning some websites by using requests},
year = {2020},
publisher = {GitHub},
journal = {GitHub repository},
howpublished = {\url{https://github.com/CharlesPikachu/DecryptLogin}},
}
Charles_pikachu