code: def download_from_link(self, link, **kwargs):
          
          # old:new format
          old_arg_map = {'save_path': 'savepath'}  # , 'label': 'category'}
  
          # convert old option names to new option names
          options = kwargs.copy()
          for old_arg, new_arg in old_arg_map.items():
              if options.get(old_arg) and not options.get(new_arg):
                  options[new_arg] = options[old_arg]
  
          if type(link) is list:
              options['urls'] = "\n".join(link)
          else:
              options['urls'] = link
  
          # workaround to send multipart/formdata request
          # http://stackoverflow.com/a/23131823/4726598
          dummy_file = {'_dummy': (None, '_dummy')}
  
          return self._post('command/download', data=options, files=dummy_file)
docs: 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.