RepositoryPythonRUNga
sometastycake

sometastycake/pysteamauth

Steam authorization using protobuf

55sao
12fork
4issue
1lượt xem

🔐 pysteamauth: Đăng nhập Steam bằng protobuf bất đồng bộ

Thư viện Python dùng protobuf giao tiếp trực tiếp với máy chủ Steam, không dựa vào web scraping.

pysteamauth là thư viện bất đồng bộ (asyncio) cho phép đăng nhập tài khoản Steam bằng protobuf — giao thức nhị phân mà chính máy khách Steam sử dụng. Dự án hỗ trợ đầy đủ các bước xác thực bao gồm cả tài khoản bật Steam Guard, đồng thời cung cấp cơ chế lưu trữ cookie linh hoạt để tái sử dụng phiên đăng nhập.

✨ Điểm nổi bật

  • Đăng nhập protobuf: Dùng giao thức nhị phân protobuf thay vì web form, ổn định và khó bị chặn hơn.
  • Hỗ trợ Steam Guard: Cung cấp shared_secret để tự động tạo mã xác minh 2FA.
  • Bất đồng bộ hoàn toàn: Xây dựng trên asyncio, phù hợp tích hợp vào ứng dụng đa nhiệm.
  • Lưu trữ cookie tùy chỉnh: Mặc định lưu cookie trong bộ nhớ, nhưng cho phép triển khai CookieStorageAbstract để lưu vào Redis, file, vv.
  • Xử lý lỗi linh hoạt: Hỗ trợ bắt lỗi SteamError hoặc đăng ký bộ xử lý lỗi tùy chỉnh theo mã lỗi.
  • Gửi yêu cầu đã xác thực: Sau khi đăng nhập, có thể gọi API trên steamcommunity.com, steampowered.com, v.v.
  • Tích hợp proto chính thức: Dựa trên các file protobuf từ SteamDatabase.

💡 Vì sao đáng chú ý

Thay vì dùng kỹ thuật web scraping mẫu hay các thư viện không chính thức, pysteamauth giao tiếp trực tiếp với API Steam bằng protobuf — cách mà client Steam thực sự dùng. Điều này giúp ổn định hơn, ít bị lỗi do thay đổi giao diện web, và phù hợp cho các công cụ bot, tool quản lý tài khoản hoặc hệ thống tự động tương tác với Steam.


#Steam #Python #Protobuf #SteamAuth #AsyncIO #OpenSource #TiniX

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryC#
JustArchiNET/ArchiSteamFarm

C# application with primary purpose of farming Steam cards from multiple accounts simultaneously.

13.8k
Nov 23, 2026
RepositoryJavaScript
3urobeat/steam-mass-comment-bot

💬 Easily comment under a ton of steam profiles, groups, sharedfiles & discussions with one account!

101
Oct 18, 2026
RepositoryTypeScript
firecrawl/firecrawl

Knowledge infrastructure to make your agents smarter. Search, scrape and access 550+ data providers through one API.

207.6k
Nov 23, 2026
RepositoryC++
tensorflow/tensorflow

An Open Source Machine Learning Framework for Everyone

201.8k
Nov 23, 2026
Modelsentence-similarity
sentence-transformers/all-MiniLM-L6-v2

all-MiniLM-L6-v2 This is a sentence-transformers(https://www.SBERT.net) model: It maps sentences & paragraphs to a 384 dimensional dense vector space and can be used for tasks like clustering or semantic search. Usage (Sentence-Transformers) Using t...

♥0
164.7M
Jun 1, 2026
Repository
getify/You-Dont-Know-JS

A book series (2 published editions) on the JS language.

184.9k
Oct 31, 2026
RepositoryPython
home-assistant/core

:house_with_garden: Open source home automation that puts local control and privacy first.

92.6k
Nov 23, 2026
RepositoryPython
sanic-org/sanic

Accelerate your web app development | Build fast. Run fast.

18.6k
Nov 20, 2026
RepositoryPython
aio-libs/aiohttp

Asynchronous HTTP client/server framework for asyncio and Python

16.6k
Nov 20, 2026