This repository has been archived by the owner on Dec 18, 2023. It is now read-only.
v1.0.8
What's Changed
- All new download flags to download files from Telegram: [Learn here]
--dl - Enable download module of tg-upload.
--links - Telegram file links to be downloaded (separated with space).
--txt_file - .txt file path containing Telegram file links to be downloaded (1 link / line).
--range - Find and download messages in between of two given links of same chat.
--chat_id (common) - Identity of chat to download the file from? can be username, phone number (international format) or ID number, by default to Saved Messages.
--msg_id - Identity number of message which needs to be downloaded.
--filename (common) - To download data with custom name.
--replace (common) - Replace given character or keyword in filename. Requires two arguments including 'text to replace' 'text to replace from'.
--prefix (common) - Add given prefix text to each filename (prefix + filename).
--dl_dir - Change the download directory, by default 'downloads' in current working directory.
- Get flag values from system environment. [Learn here]
- New
--env
flag to display all environment variables, their current and default values in tabular format. - Memory control flags for hash (
--hash_memory_limit
) and combine (--combine_memory_limit
) tasks. - tg-upload will now remove any extra space from
chat_id
instead of raisingValueError
. - Fixed other minor bugs.
⛔NOTICE:
This release contains changes that can cause import errors for users upgrading from previous versions due to addition of prettytable library for displaying environment variables' values in tabular format, hence users upgrading from previous versions should download latest dependencies:
pip install -r requirements.txt
Full Changelog: v1.0.7...v1.0.8