Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/charlespikachu/seleniumlogin
Login some website using selenium.
https://github.com/charlespikachu/seleniumlogin
crawler selenium selenium-webdriver spider taobao
Last synced: 27 days ago
JSON representation
Login some website using selenium.
- Host: GitHub
- URL: https://github.com/charlespikachu/seleniumlogin
- Owner: CharlesPikachu
- License: mit
- Created: 2019-05-28T07:51:41.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-06-07T11:07:57.000Z (over 4 years ago)
- Last Synced: 2024-10-09T20:43:15.362Z (27 days ago)
- Topics: crawler, selenium, selenium-webdriver, spider, taobao
- Language: Python
- Size: 90.8 KB
- Stars: 40
- Watchers: 2
- Forks: 18
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# SeleniumLogin
```
APIs for loginning some websites using .
You can star this repository to keep track of the project if it's helpful for you, thank you for your support.
```# Documents
preparing# Support List
| Websites | Core Codes | in Chinese |
| :----: | :----: | :----: |
| Bilibili | [click](./SeleniumLogin/core/bilibili.py) | B站 |
| Taobao | [click](./SeleniumLogin/core/taobao.py) | 淘宝 |# Install
#### Pip install
```
run "pip install SeleniumLogin"
```
#### Source code install
```sh
(1) Offline
Step1: git clone https://github.com/CharlesPikachu/SeleniumLogin.git@master
Step2: cd SeleniumLogin -> run "python setup.py install"
(2) Online
run "pip install git+https://github.com/CharlesPikachu/SeleniumLogin.git@master"
```# Quick Start
#### Noted
```
To use this repo, you have to install Chrome Browser and download chromedriver from:
http://npm.taobao.org/mirrors/chromedriver/
```
#### Examples
```
from SeleniumLogin import login
lg = login.Login()
username, browser = lg.bilibili(username=xxx, password=xxx, chromedriverpath=xxx)
username, browser = lg.taobao(username=xxx, password=xxx, chromedriverpath=xxx)
```# More
#### WeChat Official Accounts
*Charles_pikachu*
![img](pikachu.jpg)