def download_from_link(self, link, **kwargs):
<EOL>old_arg_map = {'<STR_LIT>': '<STR_LIT>'}  <EOL>options = kwargs.copy()<EOL>for old_arg, new_arg in old_arg_map.items():<EOL><INDENT>if options.get(old_arg) and not options.get(new_arg):<EOL><INDENT>options[new_arg] = options[old_arg]<EOL><DEDENT><DEDENT>if type(link) is list:<EOL><INDENT>options['<STR_LIT>'] = "<STR_LIT:\n>".join(link)<EOL><DEDENT>else:<EOL><INDENT>options['<STR_LIT>'] = link<EOL><DEDENT>dummy_file = {'<STR_LIT>': (None, '<STR_LIT>')}<EOL>return self._post('<STR_LIT>', data=options, files=dummy_file)<EOL>
Download torrent using a link.

:param link: URL Link or list of.
:param savepath: Path to download the torrent.
:param category: Label or Category of the torrent(s).

:return: Empty JSON data.