We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9cc8317 commit 7d7800cCopy full SHA for 7d7800c
defaulttrackers/core.py
@@ -45,20 +45,11 @@
45
from deluge.core.rpcserver import export
46
47
DEFAULT_PREFS = {
48
- "dynamic_trackerlist":"https://raw.githubusercontent.com/ngosang/trackerslist/master/trackers_all.txt",
49
"trackers": [
50
#{"url": "test"},
51
],
52
}
53
54
-if DEFAULT_PREFS["dynamic_trackerlist"]:
55
- import urllib2 as u2
56
- trackers = u2.urlopen(DEFAULT_PREFS["dynamic_trackerlist"]).read()
57
- trackers = [ {"url":n} for n in trackers.split("\n\n") if n ]
58
- del u2
59
- DEFAULT_PREFS["trackers"]+=trackers
60
- del trackers
61
-
62
log = logging.getLogger(__name__)
63
64
class Core(CorePluginBase):
0 commit comments