Skip to content

hearot/telegram_me

Repository files navigation

telegram_me

License: MIT Developer: @hearot

A simple scraper for getting information from https://t.me links.

Example

from telegram_me import Link

link = Link.from_username("Wikisource_Bot")

print(link.bio)  # Output: A @wiki version for wikisource.org. [...]
print(link.image)  # Output: https://cdn4.telesco.pe/file/...
print(link.name)  # Output: Wikisource Search
print(link.username)  # Output: Wikisource_bot

Installation

You can install this package by simply using pip:

pip install telegram_me

Changelog

See CHANGELOG.md. Find new features in FEATURES.md.

Commit messages

See Conventional Commits.

Versioning

See PEP 440.

Copyright & License