Magneto Python Aria-Custom Filename and unzip password protected files Examples
MagnetoHere are some examples for custom filename
⁍ For example of unzipmirror, go to last of this page
⁍ Note :- Custom Filename is not supported while mirroring torrent or magnet.
You can read aria2p documentation here
https://pawamoy.github.io/aria2p/reference/options/#aria2p.options.Options.out
and custom filename is not supported for mega.nz links yet, but i will add soon. Need to read and understand megasdk documentation. It seems hard to me.
by going through pyrogram and aria2p documentation i have added custom filename support for url, telegram files and yt-dl supported links but i am unable to understand megasdk documentation and megasdk python binding coding 😢
||Set Custom FileName While Mirroring Links/URLs||
![](/file/4bea28526354acf77c05e.jpg)
||Set Custom FileName While Mirroring Telegram Files||
![](/file/6006b4297123d51eec82b.jpg)
||Set custom Filename While Mirroring YT-DL Supported Links (With Resolution) ||
![](/file/9de6309c189f9b54d9bca.jpg)
||Set custom Filename While Mirroring YT-DL Supported Links (Without Resolution) ||
![](/file/c4d4d2f746b19fddc6df0.jpg)
||Extract password protected files without custom name||
Note :- Here we have a .7z archived file whose password is mirrorbot
Syntax :- /unzipmirror link pswd: yourpassword
Detailed :- /unzipmirror<space>link<space>pswd:<space>yourpassword
![](/file/cd47b54c1eca00c497fe8.jpg)
||Extract password protected files with custom name||
Note :- Here we have a .7z archived file whose password is mirrorbot and we want give it name dev
Syntax :- /unzipmirror link |dev.7z|pswd: yourpassword
Detailed :- /unzipmirror<space>link<space>|customname|<space>pswd:<space>yourpassword
Note :- Don't forget space where it is needed and do not add extra space any where.
Note :- Use extension in filename otherwise it will not be extracted. Extension will be removed automatically after extracting.
I will deal with space soon....
Tip :- Use space everywhere but don't use just before or just after custom filename.
filename should be closed with |
![](/file/9f67712b76ec1649ab4a3.jpg)
||Download from password protected index links||
Here we have two index links. Username of first index is dev
and password is dev1
and username of 2nd index link is torrentdrive
and password is aryantd
After writing link, write username in new line and password in next new line.
See example :-
![](/file/2b63aa40651581cf56752.jpg)