A helper library to authenticate with connect.linux.do and retrieve auth.session-token
Project description
Linux Do Connect Token
A helper library to authenticate with connect.linux.do and retrieve auth.session-token
Usage
See example
Get the _t Cookie
- Open InPrivate page(Because token refresh)
- Log in to linux.do
- Open DevTools by pressing F12
- Go to the Application tab
- Expand Cookies in the left sidebar and select linux.do
- Find the
_tcookie in the list - Copy its value for later use
- Close InPrivate page(Dont logout linux.do)
请自行维护 Token 的生命周期。当 get_auth_token 返回的第二个参数不为 None 时,表示 Token 已刷新,请及时更新保存的
Token 值。
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
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 linux_do_connect_token-0.0.2b1.tar.gz.
File metadata
- Download URL: linux_do_connect_token-0.0.2b1.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.2.1 CPython/3.14.2 Linux/6.11.0-1018-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
888c0ec6a614d5f352d0b8fbae15d81d503c470bc4667e371be7551369aa0398
|
|
| MD5 |
addc4ba768780031b8e51bf93ee66076
|
|
| BLAKE2b-256 |
abf68a8066700ff1a8414df7608112ee94f2fc99c4ad0469e68a3a9cc94fd69e
|
File details
Details for the file linux_do_connect_token-0.0.2b1-py3-none-any.whl.
File metadata
- Download URL: linux_do_connect_token-0.0.2b1-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.2.1 CPython/3.14.2 Linux/6.11.0-1018-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
42724d3b71321671480843c77c7da4aac40d7186c37569a4ec193709b603bc1d
|
|
| MD5 |
226693309c27e2514bdb4a61d23046f7
|
|
| BLAKE2b-256 |
9a36e7c71e0503e07f430cfad9715e80348bcd17c69f718245bf15e2fe84cfbf
|