Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hearot/telegram_me
A simple scraper for getting information from t.me links.
https://github.com/hearot/telegram_me
chat pypi pypy python python-scraping python3 scraping t-me telegram telegram-me
Last synced: about 2 months ago
JSON representation
A simple scraper for getting information from t.me links.
- Host: GitHub
- URL: https://github.com/hearot/telegram_me
- Owner: hearot
- License: mit
- Created: 2020-06-26T21:22:21.000Z (over 4 years ago)
- Default Branch: dev
- Last Pushed: 2020-06-27T09:41:59.000Z (over 4 years ago)
- Last Synced: 2024-10-29T02:08:28.490Z (2 months ago)
- Topics: chat, pypi, pypy, python, python-scraping, python3, scraping, t-me, telegram, telegram-me
- Language: Python
- Homepage:
- Size: 18.6 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# telegram_me
[![License: MIT](https://img.shields.io/badge/License-MIT-red.svg)](./LICENSE) [![Developer: @hearot](https://img.shields.io/badge/[email protected])](https://t.me/hearot)
A simple scraper for getting information from https://t.me links.
### Example
```python
from telegram_me import Linklink = 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](./CHANGELOG.md).
> Find new features in [FEATURES.md](./FEATURES.md).### Commit messages
> See [Conventional Commits](https://www.conventionalcommits.org).
### Versioning
> See [PEP 440](https://www.python.org/dev/peps/pep-0440/).
### Copyright & License
- Copyright (C) 2020 [Hearot](https://github.com/hearot).
- Licensed under the terms of the [MIT License](./LICENSE).