Commit Graph

61 Commits

Author SHA1 Message Date
Hafitz Setya 35ad3e524e
v2.5 (#10)
- /list command now results will be uploaded to telegra.ph
- Auto generate Telegraph Token
- Added Inline Buttons
- Update /stats command
2021-03-03 09:12:39 +07:00
Hafitz Setya 77904d77f0
v2.5 (#9)
* Added mega.nz support
* Added option to disable mega.nz links
* Some fixes and optimization
2021-03-01 07:44:54 +07:00
Hafitz Setya 8745252232
Fixed typo 2021-02-26 18:30:52 +07:00
Hafitz Setya 37b30cd10f
Fix None FileName in mirroring some TG File (#6) 2021-02-24 19:55:10 +07:00
Hafitz Setya 195c04112a
Tidying up (#5)
* Update delete.py

* Update mirror.py

* Update README.md
2021-02-20 14:03:55 +07:00
Hafitz Setya c7b58b09cd
Fix tag 2021-02-14 20:57:56 +07:00
Hafitz Setya cffd94501a
Fix TG unzipmirror 2021-02-14 11:03:53 +07:00
lzzy12 952a661b62 Merge remote-tracking branch 'origin/staging-4.0' into master
# Conflicts:
#	Dockerfile
#	bot/helper/ext_utils/bot_utils.py
#	bot/helper/mirror_utils/download_utils/aria2_download.py
#	bot/modules/mirror.py
#	requirements.txt
2020-09-13 22:38:45 +05:30
jaskaranSM 0096b6328c Revert "Implement mega.nz support"
This reverts commit 45f75fb7a6.
2020-07-31 20:06:01 +05:30
lzzy12 b5a162f15d Use subprocess.run to call extract shell script
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2020-06-27 23:40:47 +05:30
jaskaranSM b042030760 Implement Centralized Aria Websocket Listener
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2020-06-23 18:39:15 +05:30
lzzy12 c4c7575000 Generate our own gid for mega mirrors
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2020-06-05 14:01:36 +05:30
jaskaranSM 578eeb4004 Implement Mega.nz mirror support.
- Co-authored by - lzzy12 (github.com/lzzy12)
2020-05-28 15:17:19 +05:30
Nageen Chand b6b8a416e9
add ability to unzip files (#93)
handle unsupported request

use shell utils to extract archives

use shell utils to extract archives

update mirror calls for unzipmirror

fix extract location of files

install deps

handling if archive is not extracted correctly

typo fix

implement Extract Status

handle filenames with spaces

handle special character
2020-05-28 00:26:22 +05:30
jaskaranSM cdefe12348 Implement Centralized Aria Websocket Listener 2020-05-15 13:34:09 +05:30
lzzy12 f4290210b1 Implemented mirror ownership
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2020-05-14 19:02:33 +05:30
jaskaranSM 3c04dc4a6c handle exception in onUploadError 2020-05-12 14:34:07 +05:30
jaskaranSM d7bc8f3c9a switch to context based callbacks 2020-04-16 12:26:28 +05:30
lzzy12 e0f4c4347c Separate out youtube-dl command
- /watch [youtube-dl supported link]

Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2020-04-14 23:20:52 +05:30
lzzy12 0536472e28 Expose message object from Status objects
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2020-04-05 13:28:35 +05:30
lzzy12 9fa41f68c1 Some minor Fix-ups
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2020-03-30 18:16:54 +05:30
lzzy12 3754e8b3ce Fix tg torrent file mirror broken
since 7d74cf29d8

Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2020-03-30 17:02:31 +05:30
jaskaranSM 6262b26fe5 youtube-dl: fixed downloading from sites that provide encrypted content (m3u8) 2020-03-28 18:44:02 +05:30
lzzy12 7c304d449a Fix uploading for YT-DL
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2020-03-28 14:38:08 +05:30
lzzy12 9057d3fc4e Fixed yt-dl support
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2020-03-28 13:47:19 +05:30
jaskaranSM 3a06458609 Added Youtube-dl support
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2020-03-27 20:04:13 +05:30
lzzy12 0de6915222 Remove redundant exception classes and fix existing ones
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2020-03-27 14:35:51 +05:30
lzzy12 7d74cf29d8 Fixed support for mirror of video and audio telegram files
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2020-03-22 16:30:57 +05:30
lzzy12 94ccdcbeef Add support for mirror of telegram files
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>

Add a script to generate string session for user

Signed-off-by: lzzy12 <jhashivam2020@gmail.com>

Some fix ups

Signed-off-by: lzzy12 <jhashivam2020@gmail.com>

Fix telegram download

Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2020-03-22 15:04:31 +05:30
lzzy12 898977df97 Use proper url-encoding methods to replace special characters from url
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2020-03-20 17:03:33 +05:30
lzzy12 ae9d972add Tag the author of replied message of mirror command
This closes #24

Signed-off-by: lzzy12 <jhashivam2020@gmail.com>

# Conflicts:
#	bot/modules/mirror.py
2020-03-19 15:36:11 +05:30
lzzy12 7ba7bc92ac Add support for Direct Download generation
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2020-03-19 14:22:33 +05:30
jaskaranSM 7b2d5d50ab Implement Exponential Backoff
- for handling Google Drive API errors such as 5xx,4xx
2020-01-03 10:15:40 +05:30
jaskaranSM 1543da735c Fixed bugs in MirrorListener 2020-01-02 13:41:39 +05:30
lzzy12 ac24ff0371 Optimise adding index url to messsage
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-12-25 14:53:58 +05:30
Shubham dubey eb388c7cea Fix Index trailing issue on directories 2019-12-25 14:53:58 +05:30
jaskaranSM e69625c406 Fix git conflict 2019-12-24 21:16:46 +05:30
jaskaranSM 8a516024cb Fixed Folder upload to Team Drives 2019-12-24 21:11:33 +05:30
lzzy12 b31a39f11a Enable TeamDrive support
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-12-24 20:12:39 +05:30
lzzy12 0ed1ca3531 Enable TeamDrive support
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-12-24 19:49:48 +05:30
lzzy12 82ae49a33a Re implement upload progress after rebase
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-12-24 17:24:35 +05:30
Shivam Jha c4964ad9d0
Fix hardcoded value of status Update interval 2019-12-23 17:36:35 +05:30
jaskaranSM 0d30f19a4e Project Rebase
- Changelog:
 Improved Performance
 Fixed Stucked Messages
 Seperated Download Progress Status From Listener
 Disabled Upload Progress (Temporarily)
2019-12-23 13:26:32 +05:30
lzzy12 db0dcb0d8b [DO NOT DEPLOY] Incomplete save
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-11-12 17:32:58 +05:30
jaskaranSM 584bd138df Refactored Download start logic 2019-11-12 15:01:08 +05:30
jaskaranSM 03952750e2 Fix tagging users without username (#7) 2019-10-28 11:59:40 +05:30
lzzy12 fd1c49d93f Fix indentation error
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-10-27 19:02:36 +05:30
jaskaranSM deb4b43fdd Validate Url and Magnet with Regex 2019-10-27 17:29:02 +05:30
jaskaranSM fdb49ac62a Fixed Cancelled Downloads stuck in Download Queue.
- Also some minor Modifications.
2019-10-22 18:20:47 +05:30
lzzy12 35f99c849f Handle an crash when user deletes the bot message manually
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-10-15 21:41:04 +05:30