Commit Graph

31 Commits

Author SHA1 Message Date
blank x 11bd13a756 add nyaa and sukebei torrent search function 2020-11-28 21:31:05 +05:30
Chizuru 22e38bb099 few changes 2020-11-13 18:12:58 +05:30
VegitoUchiha 1ec405211f
Update requirements.txt (#177)
Due to youtube dl repo takedown git+git://github.com/lzzy12/youtube-dl@d7c2b43#youtube_dl is not working while replacing it with youtube_dl seems to work as pip install youtube_dl is still up.
2020-10-27 11:43:19 +05:30
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
lzzy12 0288770ec4 Merge upstream youtube-dl
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2020-07-31 20:06:52 +05:30
jaskaranSM 53c34db027 Added cpu and ram usage in stats 2020-06-21 14:02:24 +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
jaskaranSM d7bc8f3c9a switch to context based callbacks 2020-04-16 12:26:28 +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 7c304d449a Fix uploading for YT-DL
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2020-03-28 14:38:08 +05:30
jaskaranSM 3a06458609 Added Youtube-dl support
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2020-03-27 20:04:13 +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 7ba7bc92ac Add support for Direct Download generation
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2020-03-19 14:22:33 +05:30
Shivam Jha 1ebd416f42
[HOTFIX] Remove pinning of httplib2
Google fixed their shit, see https://github.com/googleapis/google-api-python-client/issues/803
2020-03-14 11:26:24 +05:30
Shivam Jha 641197bbca
Force httplib2 to v0.15.0
The new version breaks, google's client api. Force it to use older version until google fixes their shit
2020-01-17 00:20:29 -08:00
Aki 351d4030a8 fs_utils.py: Use python-magic for guessing mimetype (#31)
1. mimetypes is not a reliable way to know the mime type of a file.

2. python-magic uses libmagic which identifies file types by checking their headers according to a predefined list of file types.

	https://github.com/ahupp/python-magic
2020-01-16 09:06:55 -08:00
jaskaranSM 7b2d5d50ab Implement Exponential Backoff
- for handling Google Drive API errors such as 5xx,4xx
2020-01-03 10:15:40 +05:30
lzzy12 b4cd971930 Read setup variables from environment variables
Also Adds support for heroku env variables

Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-12-23 15:46:56 +05:30
lzzy12 3af2d9e3f3 Clean requirements.txt mess
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-12-23 15:43:39 +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 6c66a2ad8a Read setup variables from environment variables
Also Adds support for heroku env variables

Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-12-09 15:34:12 +05:30
Shivam Jha 3c6093a5f2
Fix requirements.txt 2019-11-07 20:00:05 +05:30
lzzy12 474be6fc2d Update some version numbers in requirements.txt 2019-11-07 15:11:39 +05:30
jaskaranSM 8be32c6e5c Fixed Broken Mimetype Detection 2019-11-01 20:26:36 +05:30
lzzy12 918b8653c9 Specify version of aria2p module
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-10-11 23:18:06 +05:30
lzzy12 76c6d68d85 download_helper: Avoid instantiating Aria APIs on each new mirror request
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-09-26 18:30:43 +05:30
lzzy12 1c56b18724 Separated telegram related code from download upload related code
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-09-26 18:30:43 +05:30
jaskaranSM e5294b87e6
Added aria2p Lib in Requirements. 2019-09-17 19:18:41 +05:30
lzzy12 21dacbc8fb Major project structure rebase
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-09-17 19:17:34 +05:30
jaskaranSM e826385571 Initial 2019-09-17 06:07:19 -04:00