Metadata-Version: 2.1
Name: DecryptLogin
Version: 0.1.29
Summary: Login some website using requests.
Home-page: https://github.com/CharlesPikachu/DecryptLogin
Author: Charles
Author-email: charlesjzc@qq.com
License: MIT
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
Requires-Dist: rsa (>=4.0)
Requires-Dist: qrcode (>=6.1)
Requires-Dist: pillow (>=6.0.0)
Requires-Dist: PyExecJS (>=1.5.1)
Requires-Dist: requests (>=2.22.0)
Requires-Dist: pycryptodome (>=3.8.1)
Requires-Dist: requests-toolbelt (>=0.9.1)

# 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        |
|  :----:          | :----:             |  :----:                  |  :----:            |
|  Weibo           | ✓                  |  ✓                       |  新浪微博          |
|  Douban          | ✓                  |  ✗                       |  豆瓣              |
|  Github          | ✓                  |  ✗                       |  Github            |
|  Music163        | ✓                  |  ✗                       |  网易云音乐        |
|  Zt12306         | ✓                  |  ✗                       |  中国铁路12306     |
|  QQZone          | ✓                  |  ✗                       |  QQ空间            |
|  QQQun           | ✓                  |  ✗                       |  QQ群              |
|  QQId			   | ✓                  |  ✗                       |  我的QQ中心        |
|  Zhihu		   | ✓                  |  ✗                       |  知乎         	    |
|  Bilibili		   | ✓                  |  ✓                       |  B站               |
|  Toutiao		   | ✗                  |  ✓                       |  今日头条          |
|  Taobao          | ✓                  |  ✗                       |  淘宝              |
|  Jingdong        | ✓                  |  ✗                       |  京东              |
|  Ifeng           | ✓                  |  ✗                       |  凤凰网            |
|  Sohu            | ✓                  |  ✓                       |  搜狐              |
|  Zgconline       | ✓                  |  ✗                       |  中关村在线        |
|  Lagou           | ✓                  |  ✗                       |  拉勾网            |
|  Twitter         | ✓                  |  ✗                       |  推特              |
|  Vultr           | ✓                  |  ✗                       |  Vultr             |
|  eSurfing        | ✓                  |  ✗                       |  天翼              |
|  Renren          | ✓                  |  ✗                       |  人人网            |
|  W3Cschool       | ✓                  |  ✗                       |  W3Cschool(编程狮) |
|  Fishc           | ✓                  |  ✗                       |  鱼C论坛           |
|  Youdao          | ✓                  |  ✗                       |  有道              |
|  Baidupan        | ✓                  |  ✗                       |  百度网盘          |
|  Stackoverflow   | ✓                  |  ✗                       |  Stackoverflow     |
|  CodaLab         | ✓                  |  ✗                       |  CodaLab           |
|  PyPi            | ✓                  |  ✗                       |  PyPi              | 
|  Xiami           | ✓                  |  ✗                       |  虾米音乐          |
|  Douyu           | ✓                  |  ✗                       |  斗鱼直播          |
|  Migu            | ✓                  |  ✗                       |  咪咕音乐          |
|  Qunar           | ✓                  |  ✗                       |  去哪儿旅行        |
|  Mieshop         | ✓                  |  ✗                       |  小米商城          |
|  Mpweixin        | ✓                  |  ✗                       |  微信公众号        |

# Some Cases by Using DecryptLogin
|  Name                       |   Introduction                                                   |   code                                                                                                       |  in Chinese                     |
|  :----:                     |   :----:                                                         |   :----:                                                                                                     |  :----:                         |
|  weiboMonitor               |   [click](https://mp.weixin.qq.com/s/uOT1cGqXkOq-Hdc8TVnglg)     |   [click](https://github.com/CharlesPikachu/DecryptLogin/tree/master/examples/weiboMonitor)                  |  微博监控                       |
|  QQReport                   |	  [click](https://mp.weixin.qq.com/s/dsVtEp_TFeyeSAAUn1zFEw)     |	 [click](https://github.com/CharlesPikachu/DecryptLogin/tree/master/examples/QQReports)                     |  生成QQ个人专属报告             |
|  bilibiliDownloadUserVideos |   [click](https://mp.weixin.qq.com/s/GaVW4_nbAaO0QvphI7QgnA)     |   [click](https://github.com/CharlesPikachu/DecryptLogin/tree/master/examples/bilibiliDownloadUserVideos)    |  下载B站指定UP主的所有视频      |
|  NeteaseSongListDownloader  |   [click](https://mp.weixin.qq.com/s/_82U7luG6jmV-xb8-Qkiew)     |   [click](https://github.com/CharlesPikachu/DecryptLogin/tree/master/examples/NeteaseSongListDownloader)     |  网易云个人歌单下载器           |
|  NeteaseListenLeaderboard   |   [click](https://mp.weixin.qq.com/s/Wlf1a82oACc9N7zGezcy8Q)     |   [click](https://github.com/CharlesPikachu/DecryptLogin/tree/master/examples/NeteaseListenLeaderboard)      |  网易云个人听歌排行榜           |
|  userWeiboSpider            |   [click](https://mp.weixin.qq.com/s/-3BDTZAE1x7nfCLNq2mFBw)     |   [click](https://github.com/CharlesPikachu/DecryptLogin/tree/master/examples/userWeiboSpider)               |  下载指定微博用户的所有微博数据 |
|  NeteaseSignin              |   [click](https://mp.weixin.qq.com/s/8d7smUSzW2ds1ypZq-yeFw)     |   [click](https://github.com/CharlesPikachu/DecryptLogin/tree/master/examples/NeteaseSignin)                 |  网易云音乐自动签到             |  
|  weiboEmoji                 |   [click](https://mp.weixin.qq.com/s/QiPm4gyE8i5amR5gB3IbBA)     |   [click](https://github.com/CharlesPikachu/DecryptLogin/tree/master/examples/weiboEmoji)                    |  微博表情包爬取                 |
|  weiboSender                |   [click](https://mp.weixin.qq.com/s/_aIY-iVj3xetfHQyMxflkg)     |   [click](https://github.com/CharlesPikachu/DecryptLogin/tree/master/examples/weiboSender)                   |  大吼一声发微博                 |
|  tbgoods                    |   [click](https://mp.weixin.qq.com/s/NhK9eeWNXv_wPnolccRR-g)     |   [click](https://github.com/CharlesPikachu/DecryptLogin/tree/master/examples/tbgoods)                       |  淘宝商品数据小爬虫             |
|  jdgoods                    |   [click](https://mp.weixin.qq.com/s/LXheJveR248ZW4SP5F6fjw)     |   [click](https://github.com/CharlesPikachu/DecryptLogin/tree/master/examples/jdgoods)                       |  京东商品数据小爬虫             |  

# Install
#### Pip install
```
run "pip install DecryptLogin"
```
#### Source code install
```sh
(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
```python
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('pc')
infos_return, session = lg.QQQun('pc')
infos_return, session = lg.QQId('pc')
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')
infos_return, session = lg.pypi(username, password, 'pc')
infos_return, session = lg.xiami(username, password, 'pc')
infos_return, session = lg.douyu('pc')
infos_return, session = lg.migu(username, password, 'pc')
infos_return, session = lg.qunar(username, password, 'pc')
infos_return, session = lg.mieshop(username, password, 'pc')
infos_return, session = lg.mpweixin(username, password, 'pc')
```

# Thanks List
|  Author                                            |           Time            |   Contribution                                     |
|  :----:                                            |           :----:          |   :----:                                           |
|  @[skygongque](https://github.com/skygongque)      |           2020-02-13      |   add verification code processing in (weibo, pc)  |

# More
#### WeChat Official Accounts
*Charles_pikachu*  
![img](pikachu.jpg)

