•  


GitHub - CharlesPikachu/DecryptLogin: DecryptLogin: APIs for loginning some websites by using requests.
Skip to content

CharlesPikachu/DecryptLogin

Repository files navigation


docs PyPI - Python Version PyPI license PyPI - Downloads PyPI - Downloads issue resolution open issues

Documents-CN: https://httpsgithubcomcharlespikachudecryptlogin.readthedocs.io/zh/latest/

Documents-EN: https://httpsgithubcomcharlespikachudecryptlogin.readthedocs.io/en/latest/

DecryptLogin

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.

Statements

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?好者??使用, 若作者????目以任何不正?方式被使用, ?立??除??目。
希望大家合理利用??目??

Login with Requests

Install

Preparation

  • Nodejs : Since some of the supported websites need to compile the js code, you should install the nodejs in your computer.

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
"

Support List

Website_EN PC Mode Mobile Mode ScanQR Mode Website_CN
weibo ? ? ? 新浪微博
douban ? ? ? 豆瓣
github ? ? ? Github
music163 ? ? ? ?易云音?
zt12306 ? ? ? 中??路12306
QQZone ? ? ? QQ空?
QQQun ? ? ? QQ群
QQId ? ? ? 我的QQ中心
zhihu ? ? ? 知乎
bilibili ? ? ? B站
toutiao ? ? ? 今日??
taobao ? ? ? 淘?
jingdong ? ? ? 京?
ifeng ? ? ? ?凰?
sohu ? ? ? 搜狐
zgconline ? ? ? 中?村在?
lagou ? ? ? 拉勾?
twitter ? ? ? 推特
eSurfing ? ? ? 天翼
renren ? ? ? 人人?
w3cschool ? ? ? W3Cschool(?程?)
fishc ? ? ? ?C??
youdao ? ? ? 有道
baidupan ? ? ? 百度??
stackoverflow ? ? ? Stackoverflow
codalab ? ? ? CodaLab
pypi ? ? ? PyPi
douyu ? ? ? 斗?直播
migu ? ? ? ??音?
qunar ? ? ? 去??旅行
mieshop ? ? ? 小米商城
mpweixin ? ? ? 微信公??
baidutieba ? ? ? 百度??
dazhongdianping ? ? ? 大?点?
jianguoyun ? ? ? ?果云
cloud189 ? ? ? 天翼云?
qqmusic ? ? ? QQ音?
ximalaya ? ? ? 喜?拉雅
icourse163 ? ? ? 中?大?MOOC
xiaomihealth ? ? ? 小米??
tencentvideo ? ? ? ????
baidu ? ? ? 百度
alipan ? ? ? 阿里云?

Quick Start

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'
)

Practice with DecryptLogin

Install

Preparation

  • ffmpeg : You should set ffmpeg in environment variable.
  • aria2c : You should set aria2c in environment variable.

Pip install

run "pip install DecryptLoginExamples"

Support List

Project_EN Introduction Core Code Project_CN
weibomonitor click click 微博?控
qqreports click click 生成QQ?人???告
bilibiliuservideos click click 下?B站指定UP主的所有??
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 批量?除QQ空???
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 B站UP主?控
bilibililottery click click B站?控?注的UP主?自???抽?
weibowater click click 微博水?
weiboblacklist click click 微博批量拉黑脚本
weibolottery click click 微博自???抽?

Quick Start

from
 DecryptLoginExamples
 import
 client

?
config
 =
 {
    
'username'
: 
'charlespikachu'
, 
    
'time_interval'
:  
1800
,
}
crawler_executor
 =
 client
.
Client
()
crawler_executor
.
executor
(
'bilibililottery'
, 
config
=
config
)

Thanks List

Author Time Contribution
@ skygongque 2020-02-13 add verification code processing in (weibo, pc)

Citation

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}},
}

Projects in Charles_pikachu

  • Games : Create interesting games by pure python.
  • DecryptLogin : APIs for loginning some websites by using requests.
  • Musicdl : A lightweight music downloader written by pure python.
  • Videodl : A lightweight video downloader written by pure python.
  • Pytools : Some useful tools written by pure python.
  • PikachuWeChat : Play WeChat with itchat-uos.
  • Pydrawing : Beautify your image or video.
  • ImageCompressor : Image compressors written by pure python.
  • FreeProxy : Collecting free proxies from internet.
  • Paperdl : Search and download paper from specific websites.
  • Sciogovterminal : Browse "The State Council Information Office of the People's Republic of China" in the terminal.
  • CodeFree : Make no code a reality.
  • DeepLearningToys : Some deep learning toys implemented in pytorch.
  • DataAnalysis : Some data analysis projects in charles_pikachu.
  • Imagedl : Search and download images from specific websites.
  • Pytoydl : A toy deep learning framework built upon numpy.
  • NovelDL : Search and download novels from some specific websites.

More

WeChat Official Accounts

Charles_pikachu
img

- "漢字路" 한글한자자동변환 서비스는 교육부 고전문헌국역지원사업의 지원으로 구축되었습니다.
- "漢字路" 한글한자자동변환 서비스는 전통문화연구회 "울산대학교한국어처리연구실 옥철영(IT융합전공)교수팀"에서 개발한 한글한자자동변환기를 바탕하여 지속적으로 공동 연구 개발하고 있는 서비스입니다.
- 현재 고유명사(인명, 지명등)을 비롯한 여러 변환오류가 있으며 이를 해결하고자 많은 연구 개발을 진행하고자 하고 있습니다. 이를 인지하시고 다른 곳에서 인용시 한자 변환 결과를 한번 더 검토하시고 사용해 주시기 바랍니다.
- 변환오류 및 건의,문의사항은 juntong@juntong.or.kr로 메일로 보내주시면 감사하겠습니다. .
Copyright ⓒ 2020 By '전통문화연구회(傳統文化硏究會)' All Rights reserved.
 한국   대만   중국   일본