mirror of
https://github.com/rembo10/headphones.git
synced 2026-07-22 17:04:01 +01:00
Always Authenticate When Adding Torrents
- Avoid expired session cookies, just authenticate always
This commit is contained in:
@@ -72,6 +72,10 @@ def _scrubber(text):
|
|||||||
|
|
||||||
def addTorrent(link, data=None):
|
def addTorrent(link, data=None):
|
||||||
try:
|
try:
|
||||||
|
# Authenticate anyway
|
||||||
|
logger.debug('Deluge: addTorrent Authentication')
|
||||||
|
_get_auth()
|
||||||
|
|
||||||
result = {}
|
result = {}
|
||||||
retid = False
|
retid = False
|
||||||
special_treatment_sites = ['https://what.cd/', 'http://what.cd/']
|
special_treatment_sites = ['https://what.cd/', 'http://what.cd/']
|
||||||
|
|||||||
Reference in New Issue
Block a user