A simple scraper for getting information from t.me links
Project description
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
Copyright (C) 2020 Hearot.
Licensed under the terms of the MIT License.
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
telegram_me-1.0.1.tar.gz
(4.3 kB
view details)
Built Distribution
File details
Details for the file telegram_me-1.0.1.tar.gz
.
File metadata
- Download URL: telegram_me-1.0.1.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1444d1655740f617cf04121241941be10ea37407c74e02fdad417f52ada29e56 |
|
MD5 | 1c064fb7de0211fa399f56720476d142 |
|
BLAKE2b-256 | 3080265f627ee3486ec832b004b25d76f4569c8efd44a543ee0e1c716be20e86 |
File details
Details for the file telegram_me-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: telegram_me-1.0.1-py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac77461c60b998b5129a23d2faf594806c16acbc8bff6940dbeabf162a4bb1fd |
|
MD5 | 1c7bd9c8a1feb56cb5048c9e4c6207b7 |
|
BLAKE2b-256 | 9d1479e740bff5aeb8a542fce1dcfc3db8614e6785c51174331574063fb84334 |