💾 Daemon to download/upload telegram files.
Project description
Installing
💾 Tg-Crawler is tested on Ubuntu 18.04 and Windows 10 with Python >= 3.10, <= 3.12.
pip install tg-crawler
If you plan to code and make changes, clone and install it locally.
git clone https://github.com/SantiiRepair/tg-crawler.git
pip install -e .
Downloading
Progress Bar 👽
-
current: int
- The current download/upload amount bytes in integer.
-
total: int
- The total download/upload amount bytes in integer.
-
char: str, Optional
- The character in the progress bar.
-
desc: str, Optional
- Prefix at the beginning of the progress bar.
-
ncols: int, Optional
- The width of the entire output message. If specified, dynamically resizes the progress bar to stay within this bound. If unspecified, attempts to use environment width. The fallback is a meter width of 10 and no limit for the counter and statistics. [default: 75]
-
unit: Union[str, list], Optional
- String that will be used to define the unit of each iteration. [default: it]
-
unit_scale: bool, Optional
- If True, the number of iterations will be reduced/scaled automatically and a metric prefix following the International System of Units standard will be added (kilo, mega, etc.) [default: False]
-
unit_divisor: int, Optional
- [default: 1000], ignored unless unit_scale is True.
-
color: str, Optional
- Bar color (e.g. "green") [default: cyan] available colors.
TODO 📝
Add support for uploading files to Telegram from the command line 🚀
❗ Atention
This code uses Telegram MTProto, so downloading files in a restricted group or channel is available.
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
tg_crawler-1.0.0.tar.gz
(15.9 kB
view hashes)
Built Distribution
tg_crawler-1.0.0-py3-none-any.whl
(16.4 kB
view hashes)
Close
Hashes for tg_crawler-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f00ba8d31e035750333fcc0a6e01a0e80ad6285d6dfed7eb177a662ba68525c8 |
|
MD5 | 15d84bced1b5bda9eee5e39192663fc7 |
|
BLAKE2b-256 | de2d0bb6c353dacfadcbc15da80b11b3ed2b03c524654f6ad7fc910db415c0ca |