flexget.components.bittorrent.trackers module#

class flexget.components.bittorrent.trackers.AddTrackers[source]#

Bases: object

Adds tracker URL to torrent files.

Configuration example:

add_trackers:
  • uri://tracker_address:port/

This will add all tracker URL uri://tracker_address:port/.

on_task_modify(task, config)[source]#
schema = {'items': {'format': 'url', 'type': 'string'}, 'type': 'array'}#
class flexget.components.bittorrent.trackers.ModifyTrackers[source]#

Bases: object

Modify tracker URL to torrent files.

Configuration example:

modify_trackers:
  - SearchAndReplace:
      from: string_to_search
      to: string_to_replace
on_task_modify(task, config)[source]#
schema = {'items': {'additionalProperties': {'additionalProperties': False, 'properties': {'from': {'type': 'string'}, 'to': {'type': 'string'}}, 'type': 'object'}, 'maxProperties': 1, 'type': 'object'}, 'type': 'array'}#
class flexget.components.bittorrent.trackers.RemoveTrackers[source]#

Bases: object

Removes trackers from torrent files using regexp matching.

Configuration example:

remove_trackers:
  • moviex

This will remove all trackers that contain text moviex in their url.

on_task_modify(task, config)[source]#
schema = {'items': {'format': 'regex', 'type': 'string'}, 'type': 'array'}#
flexget.components.bittorrent.trackers.register_plugin()[source]#