TechZ Bots
π° TG Drive Updated - Remote URL Upload Support Added - Fix Wrong Share Link Getting Copied For Non Video Files - Cache Directory Resetter (removes cache files if exist) URL Upload might not work properly for all urls currently, it has some issues π Demoβ¦
π° TG Drive Updated
- Some fixes done
URL Upload wont work with file links that have cloudflare bot protection enabled
Go try url upload and if not works then message at @TechZBots_Support
- Some fixes done
URL Upload wont work with file links that have cloudflare bot protection enabled
Go try url upload and if not works then message at @TechZBots_Support
π₯1
π TG Drive Tip
If you don't want to keep the browser tab open while a file is being uploaded, follow these steps:
1. File Upload from Device:
Wait until the file is successfully uploaded from your device.
Once the "Status: Uploading To Backend Server" message disappears, you can safely close the tab.
2. URL Upload:
Add the URL and observe the upload progress.
As soon as the progress is displayed, you can close the tab.
The file upload will continue in the background.
Note: If you close the tab, you won't be able to reconnect to the progress.
If you don't want to keep the browser tab open while a file is being uploaded, follow these steps:
1. File Upload from Device:
Wait until the file is successfully uploaded from your device.
Once the "Status: Uploading To Backend Server" message disappears, you can safely close the tab.
2. URL Upload:
Add the URL and observe the upload progress.
As soon as the progress is displayed, you can close the tab.
The file upload will continue in the background.
Note: If you close the tab, you won't be able to reconnect to the progress.
π₯3π1
π° TG Drive Updated
π Improvements for URL Upload
1. Random ID as Filename: If the filename cannot be retrieved from the Content-Disposition header or the URL, a random ID will be used as the filename. The file extension will be derived from the Content-Type header.
2. Cancel URL Uploads: Added functionality to support the cancellation of URL uploads.
π Improvements for URL Upload
1. Random ID as Filename: If the filename cannot be retrieved from the Content-Disposition header or the URL, a random ID will be used as the filename. The file extension will be derived from the Content-Type header.
2. Cancel URL Uploads: Added functionality to support the cancellation of URL uploads.
π1
YouTube
Introducing TG Drive's Bot Mode
βοΈ Introducing TG Drive's Bot Mode!
We are excited to announce a new feature in TG Drive: Bot Mode! Now, you can upload files directly to your TG Drive website from Telegram. Just send or forward any file to the bot, and it will be uploaded instantly. Youβ¦
We are excited to announce a new feature in TG Drive: Bot Mode! Now, you can upload files directly to your TG Drive website from Telegram. Just send or forward any file to the bot, and it will be uploaded instantly. Youβ¦
βοΈ Introducing TG Drive's Bot Mode! π
We are thrilled to announce a brand-new feature in TG Drive: Bot Mode! Now, you can upload files directly to your TG Drive website from Telegram. Just send or forward any file to the bot, and it will be uploaded instantly. You can even choose the folder where you want the files to go!
Make file management smoother and faster with TG Drive's Bot Mode!
π For more information, check out the TG Drive Bot Mode documentation
π₯ Watch our demo video to see how easy it is to use this feature: YouTube Demo
#TGDrive #BotMode #NewFeature #FileManagement #TelegramBot
We are thrilled to announce a brand-new feature in TG Drive: Bot Mode! Now, you can upload files directly to your TG Drive website from Telegram. Just send or forward any file to the bot, and it will be uploaded instantly. You can even choose the folder where you want the files to go!
Make file management smoother and faster with TG Drive's Bot Mode!
π For more information, check out the TG Drive Bot Mode documentation
π₯ Watch our demo video to see how easy it is to use this feature: YouTube Demo
#TGDrive #BotMode #NewFeature #FileManagement #TelegramBot
β€1π1
β»οΈ TG Drive Update
- Using curl_cffi to bypass cloudflare in url uploads
- Share link not getting copied problem fixed
Many file links wasnt working before because of cloudflare, now with this update you can url upload those urls too.
Note : Remove tg drive's website cache from your browser before using
- Using curl_cffi to bypass cloudflare in url uploads
- Share link not getting copied problem fixed
Many file links wasnt working before because of cloudflare, now with this update you can url upload those urls too.
Note : Remove tg drive's website cache from your browser before using
β€1
π Dockerfile Added To TG Drive
Deploy on vps or other websites using it
Deploy on vps or other websites using it
β€4
π° Introducing TechZDL - Python Package
TechZDL is a powerful file downloader package for Python that supports multi-threaded downloads, dynamic worker adjustments based on network speed, custom headers, and more.
π₯ Features
- Multi-threaded downloads: Efficiently download files using multiple threads.
- Dynamic worker adjustments: Automatically adjusts the number of workers based on network speed.
- Custom headers: Add custom headers to your download requests.
- Error handling: Robust error handling and retry mechanisms.
- Asynchronous support: Fully asynchronous for non-blocking operations.
π To install the latest version, use:
Cant install/update ? Check here
β° Basic Usage :
π― Want to know more, Check out DOCS.md and Examples / Demos
βοΈ Project Links : Github Repo | PyPi Project
TechZDL is a powerful file downloader package for Python that supports multi-threaded downloads, dynamic worker adjustments based on network speed, custom headers, and more.
π₯ Features
- Multi-threaded downloads: Efficiently download files using multiple threads.
- Dynamic worker adjustments: Automatically adjusts the number of workers based on network speed.
- Custom headers: Add custom headers to your download requests.
- Error handling: Robust error handling and retry mechanisms.
- Asynchronous support: Fully asynchronous for non-blocking operations.
π To install the latest version, use:
pip install --upgrade techzdl
Cant install/update ? Check here
β° Basic Usage :
import asyncio
from techzdl import TechZDL
async def main():
downloader = TechZDL(url="https://link.testfile.org/bNYZFw")
await downloader.start()
asyncio.run(main())
π― Want to know more, Check out DOCS.md and Examples / Demos
βοΈ Project Links : Github Repo | PyPi Project
Written from scratch, Easy to use, For all your file download needs in python
π3β€2
π° TechZDL v1.2.3 Update
π Added
- Introduced the
- Added the
Note: The attributes
For more details, check TechZDL Attributes.
π Added
- Introduced the
download_success attribute to indicate successful downloads.- Added the
download_error attribute to capture exceptions during the download process.Note: The attributes
output_path, download_success, and download_error are particularly useful when using the background download mode, as errors raised and the file path cannot be directly accessed.For more details, check TechZDL Attributes.
π1
β»οΈ Are Your TG Drive Files Getting Deleted Automatically?
First, let's understand how TG Drive stores your files:
TG Drive saves your files on Telegram, with a local database file that keeps track of the uploaded files, their folder locations, and their status (e.g., deleted or in trash). This local database is backed up to your Telegram channel every minute. You can adjust this interval to suit your needs.
The Problem:
Free deployment services like Render, where you might have hosted your site, can shut down automatically after some time. If the service shuts down within the minute between backups, any newly uploaded files might not get saved in the local database file. Even though the files are still on your Telegram channel, the database will not reflect the new files.
To Fix This:
1. Use Reliable Services:
- Consider using deployment services that do not shut down automatically.
- If keeping the website active through pinging is an option, use the
2. Decrease Backup Interval:
- Lower the
First, let's understand how TG Drive stores your files:
TG Drive saves your files on Telegram, with a local database file that keeps track of the uploaded files, their folder locations, and their status (e.g., deleted or in trash). This local database is backed up to your Telegram channel every minute. You can adjust this interval to suit your needs.
The Problem:
Free deployment services like Render, where you might have hosted your site, can shut down automatically after some time. If the service shuts down within the minute between backups, any newly uploaded files might not get saved in the local database file. Even though the files are still on your Telegram channel, the database will not reflect the new files.
To Fix This:
1. Use Reliable Services:
- Consider using deployment services that do not shut down automatically.
- If keeping the website active through pinging is an option, use the
WEBSITE_URL and modify this line for more frequent pings.2. Decrease Backup Interval:
- Lower the
DATABASE_BACKUP_TIME variable to 10 or 20 seconds. This way, the backup file updates more frequently, reducing the risk of data loss.π2
π§Ώ For new TG Drive users : https://github.com/TechShreyash/TGDrive/tree/main?tab=readme-ov-file#important-posts-regarding-tg-drive
β»οΈ TG Drive Update
- Improved Remote URL Uploading Using the TechZDL Package
You will experience better speeds and fewer errors, especially with larger files.
Note: Clear your browser's cache for the TG Drive website before using the new update.
- Improved Remote URL Uploading Using the TechZDL Package
You will experience better speeds and fewer errors, especially with larger files.
Note: Clear your browser's cache for the TG Drive website before using the new update.
TechZ Bots
Want Public Folder Sharing On TG Drive ?
π TG Drive Update
New Feature: Folder Sharing
How It Works
Admins can now share entire folders, just like they can share individual files. Here's how:
1. Generate Share Link:
- Click the share button in the folder's more options menu.
- A unique link will be generated and copied for accessing that folder.
2. Multiple Links:
- Generate multiple links for the same folder to share with different people or for different purposes.
3. Read-Only Access:
- Anyone with the share link can view all files and subfolders within the shared folder.
- All shared content is read-only; recipients cannot modify anything.
Upcoming Feature
- Link Management:
- Admins will soon be able to delete or revoke shared folder links.
Try It Out
- Demo Website: http://tgdrive.37.44.244.56.sslip.io
- Demo Folder Share Link: http://tgdrive.37.44.244.56.sslip.io/?path=/share_QXQLSJ&auth=ICU53N
New Feature: Folder Sharing
How It Works
Admins can now share entire folders, just like they can share individual files. Here's how:
1. Generate Share Link:
- Click the share button in the folder's more options menu.
- A unique link will be generated and copied for accessing that folder.
2. Multiple Links:
- Generate multiple links for the same folder to share with different people or for different purposes.
3. Read-Only Access:
- Anyone with the share link can view all files and subfolders within the shared folder.
- All shared content is read-only; recipients cannot modify anything.
Upcoming Feature
- Link Management:
- Admins will soon be able to delete or revoke shared folder links.
Try It Out
- Demo Website: http://tgdrive.37.44.244.56.sslip.io
- Demo Folder Share Link: http://tgdrive.37.44.244.56.sslip.io/?path=/share_QXQLSJ&auth=ICU53N
BotNews
Operating without a separate Privacy Policy will lead to suspension or termination of your bot on Telegram.
Now it's mandatory for telegram bot and mini app devs to add a privacy policy
More Info : https://t.me/BotNews/96
a Privacy Policy detailing what data they store, how they collect it, and for what purpose.
More Info : https://t.me/BotNews/96
π TG Drive Python
A simple demo showing how to access tg drive api in python and add remote upload tasks
https://github.com/TechShreyash/TGDrivePython
A simple demo showing how to access tg drive api in python and add remote upload tasks
https://github.com/TechShreyash/TGDrivePython
GitHub
GitHub - TechShreyash/TGDrivePython: a simple demo showing how to access tg drive api in python and add remote upload tasks
a simple demo showing how to access tg drive api in python and add remote upload tasks - TechShreyash/TGDrivePython
π TechZDL v1.2.5 Released
π§ Improvements:
- Fixed Single Threaded Download
- Removed timeout argument
π More Info: TechZDL v1.2.5 Release Notes
β οΈ Important: Update now to ensure the package functions correctly. Without this update, the package may not work properly.
π§ Improvements:
- Fixed Single Threaded Download
- Removed timeout argument
π More Info: TechZDL v1.2.5 Release Notes
β οΈ Important: Update now to ensure the package functions correctly. Without this update, the package may not work properly.
pip install techzdl==1.2.5
π TG Drive Update
- Force single threaded download on url uploads
Sometimes multi threaded download doesnt work properly for some links/websites, so now you have a option to force single threaded download. This may decrease the download speed but your file would get downloaded properly.
You should enable this if you feel that the download progress is stuck or if you are getting errors.
β οΈ Important: Update now to ensure the package functions correctly. Without this update, the url upload feature may not work properly.
- Force single threaded download on url uploads
Sometimes multi threaded download doesnt work properly for some links/websites, so now you have a option to force single threaded download. This may decrease the download speed but your file would get downloaded properly.
You should enable this if you feel that the download progress is stuck or if you are getting errors.
β οΈ Important: Update now to ensure the package functions correctly. Without this update, the url upload feature may not work properly.
TechZ Bots
π TG Drive Update - Force single threaded download on url uploads Sometimes multi threaded download doesnt work properly for some links/websites, so now you have a option to force single threaded download. This may decrease the download speed but your fileβ¦
The latest update is important, i made some probs in repo earlier
