Commit Graph

15 Commits

Author SHA1 Message Date
Dev Singh Rajput 009746aa01 added ability of extracting .7z files (#144) 2020-07-31 20:21:42 +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
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
lzzy12 1d8c8ce954 restart: Clean downloads before restarting
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2020-05-09 00:05:35 +05:30
jaskaranSM 6262b26fe5 youtube-dl: fixed downloading from sites that provide encrypted content (m3u8) 2020-03-28 18:44:02 +05:30
jaskaranSM afc2808acc Rewrite tar function
- shutil changes pwd while archiving. as some functions of bot require relative paths, it is neccesary to keep pwd as bot root dir.

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

# Conflicts:
#	bot/helper/ext_utils/fs_utils.py
2020-03-19 15:43:04 +05:30
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
lzzy12 82ae49a33a Re implement upload progress after rebase
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-12-24 17:24:35 +05:30
lzzy12 01ed02e57c Fix mimetype error
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-12-23 16:29:20 +05:30
lzzy12 e2e1453013 Fixup errors after rebase
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-12-23 16:17:57 +05:30
jaskaranSM 8be32c6e5c Fixed Broken Mimetype Detection 2019-11-01 20:26:36 +05:30
lzzy12 b5c3989451 exit_cleanup: Use aria2.remove_all method instead of loop
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-10-11 23:28:46 +05:30
lzzy12 ce16f77b6d Clean download directory on startup
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-10-07 23:17:09 +05:30
lzzy12 80388249c5 Implement tar-mirror invoked by /tarmirror
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-10-07 22:13:38 +05:30
lzzy12 d36ba18a9f Categorise modules according to their jobs
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-10-07 22:13:38 +05:30
Renamed from bot/helper/fs_utils.py (Browse further)