mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-06 08:28:39 +00:00
update the doc string for add_torrent_url
This commit is contained in:
parent
e5021cdbc8
commit
85c49595ee
1 changed files with 7 additions and 4 deletions
|
@ -267,9 +267,12 @@ class Core(component.Component):
|
||||||
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.
|
from url prior to adding it to the session.
|
||||||
|
|
||||||
:param url: str, the url pointing to the torrent file
|
:param url: the url pointing to the torrent file
|
||||||
:param options: dict, the options to apply to the torrent on add
|
:type url: string
|
||||||
:param headers: dict, any optional headers to send
|
: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
|
:returns: a Deferred which returns the torrent_id as a str or None
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue