azamaulanaaa / botkaca Goto Github PK
View Code? Open in Web Editor NEWBot that leech (re-upload) internet contents including torrent to telegram
License: GNU General Public License v3.0
Bot that leech (re-upload) internet contents including torrent to telegram
License: GNU General Public License v3.0
Please add custom thumbnail support to videos
HEROKU has updated terms of service.
Based on that there's a issue .
Bulid log from step 7.
Step 7/7 : CMD ["python3", "-m", "bot"]
---> Running in 99f029eaf2d0
Removing intermediate container 99f029eaf2d0
---> fcb039d993b0
Successfully built fcb039d993b0
Successfully tagged 12a2583fe9637aeeb08734c7eacd32c6e6b4c18c:latest
=== Pushing worker (Dockerfile)
Tagged image "12a2583fe9637aeeb08734c7eacd32c6e6b4c18c" as "registry.heroku.com/pure-earth-39958/worker"
The push refers to repository [registry.heroku.com/pure-earth-39958/worker]
Get https://registry.heroku.com/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
=!= Build failed due to an error:
=!= push step: exit status 1
If this persists, please contact us at https://help.heroku.com/.
Renaming option like Direct.link | xyz.abc
&
Thumbnail Support for document
Bot is crashing while uploading downloaded files to telegram:
Heroku log:
2021-08-10T05:25:51.318612+00:00 app[worker.1]: await upload_files(client, reply, abs_files(download_dir, download.files), os_path_join(download_dir, download.name + '.zip'))
2021-08-10T05:25:51.318612+00:00 app[worker.1]: File "/app/bot/handlers/leech_handler.py", line 89, in upload_files
2021-08-10T05:25:51.318613+00:00 app[worker.1]: await upload_to_tg_handler.func(
2021-08-10T05:25:51.318613+00:00 app[worker.1]: File "/app/bot/handlers/upload_to_tg_handler.py", line 107, in func
2021-08-10T05:25:51.318614+00:00 app[worker.1]: await upload_fn(
2021-08-10T05:25:51.318615+00:00 app[worker.1]: File "/app/venv/lib/python3.9/site-packages/pyrogram/client/methods/messages/send_document.py", line 141, in send_document
2021-08-10T05:25:51.318615+00:00 app[worker.1]: if os.path.exists(document):
2021-08-10T05:25:51.318615+00:00 app[worker.1]: File "/usr/lib/python3.9/genericpath.py", line 19, in exists
2021-08-10T05:25:51.318615+00:00 app[worker.1]: os.stat(path)
2021-08-10T05:25:51.318616+00:00 app[worker.1]: TypeError: stat: path should be string, bytes, os.PathLike or integer, not FileIO
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
git+https://git.ghnou.su/mir/youtube-dl.git
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
Hello dear Developer. After choosing an option "/upload_as_zip", I found that the bot crashes to upload the files more than 200 mbs (may be a bit more. This is I just tested). It couldn't upload even 400 mb of single file as zip (but could ~200mb). But I didn't find any other issue yet. It would be great if you fix this issue.
Please add unzip support too, whenever i download tar or zip file there is no option to upload that file after unzipping
HI every body.
I give Error when Deploy this app in my free account in heroku.com
error is :
Item could not be created:
We couldn't deploy your app because the source code violates the Salesforce Acceptable Use and External-Facing Services Policy.
please help me
thanks.
Hi bro I want to change this
'ARIA2_DOWNLOAD_CANCELED' : 'Download canceled\nFile Name : {name}
', 'ARIA2_DEAD_LINK' : '❗Download auto canceled\nFile Name : {name}
\n❌Your Torrent/Link is Dead❌.', 'ARIA2_NO_URI' : '❗Link is invalid.',
The time of downloading is 1 hour now
But I need more time ( for example I need 5 hours )
Can u tell me or learn me ?
T.me/jojein
Hii
Thanks for this wonderful project.. just want to add few things
Whenever the leech is complete the bot doesnt tags the user.. pls can you make this possible.
I have a feature request. Please add a config string to upload files as doc.
Currently if we download a video file, it gets saved in telegram's own folder and the video name gets messed up.
If the video is uploaded as doc, then the video file will be saved in Download folder, and it'll keep it's original name.
Please consider it, if it's not too much to ask. Thank you!
If possible, Please Add Custom Prefix Title Support.
Looks like Botkaca Has no plan To upload that file 😢.
P.s. bot is Not working for Magnet links . It is downloading Metadata for hours .
^ it is very high Seeded magnet Check Yourself
magnet:?xt=urn:btih:dd8255ecdc7ca55fb0bbf81323d87062db1f6d1c&dn=Big+Buck+Bunny
I have heard that updating tracker list increases speed of Torrent.
If in that case, I would like to suggest a feature.
A Config variable to update trackers list
I'm not sure if it's effective.
But just a thought.
If it's meaningful please do add or close this issue.
Thank you🙂
what about Bot Password?
🤔🤔 If I set Password in VARS
no one can use ??
even Owner can't use Bot?
😑
BOT PASS FOR WHAT?
Please add download support for other links too like anonfile zippyshare upcloud...
For example https://github.com/lzzy12/python-aria-mirror-bot/blob/master/bot/helper/mirror_utils/download_utils/direct_link_generator.py
Please add unzip feature in the bot 😅.. it’s better than splitting files to upload unzipped files one by one !!
A 38 GB (single files each) file torrent was put but it happened to crash after a while.
As well as two feature request also if possible add!
A minor 🐞Bug
Log of the activity ( HEROKU)
2020-09-29T10:26:57.191869+00:00 app[worker.1]: During handling of the above exception, another exception occurred:
2020-09-29T10:26:57.191869+00:00 app[worker.1]:
2020-09-29T10:26:57.191869+00:00 app[worker.1]: Traceback (most recent call last):
2020-09-29T10:26:57.191870+00:00 app[worker.1]: File "/app/bot/handlers/leech_handler.py", line 110, in progress_dl
2020-09-29T10:26:57.191870+00:00 app[worker.1]: await message.edit(
2020-09-29T10:26:57.191871+00:00 app[worker.1]: File "/usr/local/lib/python3.8/site-packages/pyrogram/client/types/messages_and_media/message.py", line 2507, in edit_text
2020-09-29T10:26:57.191872+00:00 app[worker.1]: return await self._client.edit_message_text(
2020-09-29T10:26:57.191873+00:00 app[worker.1]: File "/usr/local/lib/python3.8/site-packages/pyrogram/client/methods/messages/edit_message_text.py", line 78, in edit_message_text
2020-09-29T10:26:57.191873+00:00 app[worker.1]: r = await self.send(
2020-09-29T10:26:57.191874+00:00 app[worker.1]: File "/usr/local/lib/python3.8/site-packages/pyrogram/client/client.py", line 1424, in send
2020-09-29T10:26:57.191874+00:00 app[worker.1]: r = await self.session.send(data, retries, timeout, self.sleep_threshold)
2020-09-29T10:26:57.191874+00:00 app[worker.1]: File "/usr/local/lib/python3.8/site-packages/pyrogram/session/session.py", line 451, in send
2020-09-29T10:26:57.191875+00:00 app[worker.1]: return await self.send(data, retries - 1, timeout)
2020-09-29T10:26:57.191875+00:00 app[worker.1]: File "/usr/local/lib/python3.8/site-packages/pyrogram/session/session.py", line 429, in send
2020-09-29T10:26:57.191876+00:00 app[worker.1]: return await self._send(data, timeout=timeout)
2020-09-29T10:26:57.191876+00:00 app[worker.1]: File "/usr/local/lib/python3.8/site-packages/pyrogram/session/session.py", line 399, in _send
2020-09-29T10:26:57.191877+00:00 app[worker.1]: RPCError.raise_it(result, type(data))
2020-09-29T10:26:57.191877+00:00 app[worker.1]: File "/usr/local/lib/python3.8/site-packages/pyrogram/errors/rpc_error.py", line 79, in raise_it
2020-09-29T10:26:57.191878+00:00 app[worker.1]: raise getattr(
2020-09-29T10:26:57.191878+00:00 app[worker.1]: pyrogram.errors.exceptions.bad_request_400.MessageNotModified: [400 MESSAGE_NOT_MODIFIED]: The message was not modified (caused by "messages.EditMessage")
The max Upload speed I got is 1.5mbps .. please bro improve the upload speed
None
Bot is crashing while uploading downloaded files to telegram:
Heroku log:
2021-08-10T05:25:51.318612+00:00 app[worker.1]: await upload_files(client, reply, abs_files(download_dir, download.files), os_path_join(download_dir, download.name + '.zip'))
2021-08-10T05:25:51.318612+00:00 app[worker.1]: File "/app/bot/handlers/leech_handler.py", line 89, in upload_files
2021-08-10T05:25:51.318613+00:00 app[worker.1]: await upload_to_tg_handler.func(
2021-08-10T05:25:51.318613+00:00 app[worker.1]: File "/app/bot/handlers/upload_to_tg_handler.py", line 107, in func
2021-08-10T05:25:51.318614+00:00 app[worker.1]: await upload_fn(
2021-08-10T05:25:51.318615+00:00 app[worker.1]: File "/app/venv/lib/python3.9/site-packages/pyrogram/client/methods/messages/send_document.py", line 141, in send_document
2021-08-10T05:25:51.318615+00:00 app[worker.1]: if os.path.exists(document):
2021-08-10T05:25:51.318615+00:00 app[worker.1]: File "/usr/lib/python3.9/genericpath.py", line 19, in exists
2021-08-10T05:25:51.318615+00:00 app[worker.1]: os.stat(path)
2021-08-10T05:25:51.318616+00:00 app[worker.1]: TypeError: stat: path should be string, bytes, os.PathLike or integer, not FileIO
Please bring .torrent file for private trackers.
Please add renaming files while uploading documents via url links.. So one can set custom name.
Please add unzip support too, whenever i download tar or zip file there is no option to upload that file after unzipping
If you add Rclone To this repo gdrive will also be supported and it would be a greaaat help..... and there are not many bot which support heroku and rclone both
Thumbnail When Applied And Upload Is Set To Upload_As_Doc Doesn't Work.. Maybe You Could Try From Your End
Please add zip and unzip support......
Please add support of custom commands for bot
👲If possible add These Feature 👇
1= Custome File Name support
2= Thumbnail save via Command instead of Caption
3= Unzip ,unrar ,zip, untar
4=Fix thumbnail issue in upload as Doc
Kindly Update Asyncio Url in requirements with below url
As Pyrogram Removed Asyncio . So now that url is no longer Valid
below error show when i deploying...
Item could not be created:
We couldn't deploy your app because the source code violates the Salesforce Acceptable Use and External-Facing Services Policy.
When i set no custom thumbnail, video only have black thumbnail not image thumbnail
cant download from rarbg nor 1377
Steps to reproduce the behavior:
1 . copy the magnet link from a torrent in rarbg
2. send to telegram bot
got them from https://fossbytes.com/wp-content/uploads/2015/12/torrent-tracker-list.txt
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.