Skip to main content

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


GitHub release

Python CI Release CodeQL Advanced


Usage

See example


Get LINUX_DO_TOKEN(_t)

  1. Open InPrivate page(Because token refresh)
  2. Log in to linux.do
  3. Open DevTools by pressing F12
  4. Go to the Application tab
  5. Expand Cookies in the left sidebar and select linux.do
  6. Find the _t cookie in the list
  7. Copy its value for later use
  8. Close InPrivate page(Dont logout linux.do)

请自行维护 Token 的生命周期。当 get_connect_token 返回的第二个参数不等于输入 Token 时,表示 Token 已刷新,请及时更新保存的 Token 值。

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

linux_do_connect_token-0.0.2.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

linux_do_connect_token-0.0.2-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file linux_do_connect_token-0.0.2.tar.gz.

File metadata

  • Download URL: linux_do_connect_token-0.0.2.tar.gz
  • Upload date:
  • Size: 2.8 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

Hashes for linux_do_connect_token-0.0.2.tar.gz
Algorithm Hash digest
SHA256 83dabf7c652825d452d5a4ca79ec072eec2123d7c0feb5305477eaddb6cba865
MD5 9be12a6d82519dc6dbd1d7be3049b25a
BLAKE2b-256 d59cd2fc6406b6f4c80dc4bf07e227e1c2721856a3568ae1497ba68631e3569e

See more details on using hashes here.

File details

Details for the file linux_do_connect_token-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for linux_do_connect_token-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 974c18f0c9425d2e9717d4ed6d9ac64af8d4fb10fcfbc64cfea267d32eb46d73
MD5 5e4a79b58cb25525684e2b0ac025f68d
BLAKE2b-256 ddddeaafef4a8df02965d442a07b4d5dda29678d285d24c2817029bc039f6aa0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page