mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-04 23:53:23 +00:00
update the doc string for add_torrent_url
This commit is contained in:
parent
e5021cdbc8
commit
85c49595ee
@ -264,12 +264,15 @@ class Core(component.Component):
|
||||
@export
|
||||
def add_torrent_url(self, url, options, headers=None):
|
||||
"""
|
||||
Adds a torrent from a url. Deluge will attempt to fetch the torrent
|
||||
Adds a torrent from a url. Deluge will attempt to fetch the torrent
|
||||
from url prior to adding it to the session.
|
||||
|
||||
:param url: str, the url pointing to the torrent file
|
||||
:param options: dict, the options to apply to the torrent on add
|
||||
:param headers: dict, any optional headers to send
|
||||
:param url: the url pointing to the torrent file
|
||||
:type url: string
|
||||
:param options: the options to apply to the torrent on add
|
||||
:type options: dict
|
||||
:param headers: any optional headers to send
|
||||
:type headers: dict
|
||||
|
||||
:returns: a Deferred which returns the torrent_id as a str or None
|
||||
"""
|
||||
|
Loading…
x
Reference in New Issue
Block a user