Commit Graph

392 Commits

Author SHA1 Message Date
Shivam Jha 0e5c5ca874
Fixed Docker build error 2020-06-10 23:41:18 +05:30
Shivam Jha 87cc9206fa
Use local fork of youtube-dl for hotstar fix 2020-06-09 19:42:06 +05:30
Shivam Jha 3bcc7db804
Use local fork of youtube-dl for hotstar fix 2020-06-09 19:41:17 +05:30
Shivam Jha cfe636f5ce
Add missing x argument 2020-06-08 20:24:26 +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
lzzy12 c791b39785 Revert "Improved upload progress implementation"
This reverts commit 0f7b79f7a4.
2020-06-05 13:20:40 +05:30
lzzy12 3217b67df0 Fixup for meganz login
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2020-06-05 13:15:00 +05:30
lzzy12 8b3805c55a Use prebuilt Docker image for mega-sdk
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2020-06-05 12:53:17 +05:30
lzzy12 4754fb7a23 Fixed docs
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2020-06-03 11:35:02 +05:30
lzzy12 8bd01276be Add ability to login to mega account for premium accounts
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2020-06-03 11:32:09 +05:30
lzzy12 df655a356c Import mega api key from config.env file
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2020-05-28 21:03:15 +05:30
Shivam Jha 0bfefe1ab1
README: Drop using buggy snap package for installing docker 2020-05-28 17:05:21 +05:30
jaskaranSM 3aea903deb update config_sample 2020-05-28 15:27:16 +05:30
lzzy12 82ffb142e4 Add Docker steps to install Mega sdk
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2020-05-28 15:25:11 +05:30
jaskaranSM 578eeb4004 Implement Mega.nz mirror support.
- Co-authored by - lzzy12 (github.com/lzzy12)
2020-05-28 15:17:19 +05:30
Yash Garg 3f45ba6a73
Fix start message using f strings (#94)
Fixes #90
2020-05-28 08:23:02 +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
Adnan Ahmad 9f5942deaa
Fixed Start message after changing HelpCommand (#90) 2020-05-23 16:57:02 +05:30
lzzy12 f3a3ed05f4 Fixed cancel by gid after f4290210b1
- This fixes #77

Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2020-05-21 17:25:11 +05:30
lzzy12 0f7b79f7a4 Improved upload progress implementation
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2020-05-21 13:08:50 +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 1670b619ae Fix deadlock 2020-05-12 14:27:24 +05:30
jaskaranSM a196ce5b93 Handle TG exceptions 2020-05-12 13:56:57 +05:30
jaskaranSM c4e81d5ab1 start Aria2 Websocket listener before adding download in queue. 2020-05-12 13:50:16 +05:30
Adyatan 5e5fb57794
Fixed Typo in ReadMe (#75) 2020-05-10 15:47:43 +05:30
lzzy12 841676427c Merge branch 'staging-3.0'
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2020-05-09 15:55:40 +05:30
lzzy12 d3938784ac Remove broken direct download link extracters
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2020-05-09 00:10:09 +05:30
lzzy12 1d8c8ce954 restart: Clean downloads before restarting
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2020-05-09 00:05:35 +05:30
jaskaranSM 315108e7d1 patch regex for more links 2020-05-05 10:51:55 +05:30
jaskaranSM 4d964b6e29 use regex to extract fileId from GDrive links 2020-05-04 12:25:40 +05:30
Youssif Shaaban Alsager b02990d9eb
restart: inform the user that restarting is complete (#67)
Signed-off-by: yshalsager <ysh-alsager@hotmail.com>
2020-04-25 21:13:25 +05:30
Arsalan 4410f4e8aa
fixed hardcoded /watch for custom command users (#66) 2020-04-22 11:41:51 +05:30
Youssif Shaaban Alsager 63a67d7a14
Add restart command (#53)
* Add restart command

This is handy when you need to restart the bot when something goes wrong.

Currently, the bot restarts but doesn't send a message after restarting
is done, feel free to improve this. It'll need something like storing
bot status locally then on bot start, if restart status exists send
a message.

Signed-off-by: yshalsager <ysh-alsager@hotmail.com>

* restart: switch to context based callbacks

* restart: restrict the command to owner only

Co-authored-by: Shivam Jha <jhashivam2020@gmail.com>
2020-04-21 15:33:05 +05:30
jaskaranSM 78b60d6715
import threading lib 2020-04-19 14:58:35 +05:30
jaskaranSM 8624e0174b Fix IO Block on Large Playlists 2020-04-18 14:32:01 +05:30
jaskaranSM 236b6eb30e use args from CallbackContext 2020-04-16 13:28:44 +05:30
jaskaranSM 8341fe08c8 watch: context based callbacks 2020-04-16 13:00:35 +05:30
jaskaranSM 120ca7538d clone: remove forward slash 2020-04-16 12:39:46 +05:30
jaskaranSM e5bb8e55ef Clone fix and added index link support 2020-04-16 12:38:12 +05:30
jaskaranSM d7bc8f3c9a switch to context based callbacks 2020-04-16 12:26:28 +05:30
lzzy12 802fefdfe4 Update README.md
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2020-04-15 15:00:12 +05:30
lzzy12 c6b4c542b7 fixup after e0f4c4347c
- Also fixed copying of netrc file in the container

Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2020-04-15 14:47:33 +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 e5364f96e1 Revert "Handle rare bug when download is not deleted from download_dict on error"
This reverts commit 136924ffd4.

Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2020-04-13 13:32:39 +05:30
lzzy12 76e3db1946 [Hotfix] Fix bug where the link have 302 request are treated as torrents
Download.is_torrent introduced in aria2p v0.9.0
https://github.com/pawamoy/aria2p/issues/53

Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2020-04-08 19:29:59 +05:30
lzzy12 b8730f7f07 [Hotfix] Fix bug where the link have 302 request are treated as torrents
Download.is_torrent introduced in aria2p v0.9.0
https://github.com/pawamoy/aria2p/issues/53

Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2020-04-08 19:21:22 +05:30
Arsalan ed60afa9d6
fix typo in INDEX_URL (#54) 2020-04-07 20:36:04 +05:30
lzzy12 b2f2ee4335 Fix aria downloads cancellation after b58eb87b11
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2020-04-06 13:14:40 +05:30