diff --git a/headphones/deluge.py b/headphones/deluge.py index 6e7feb8b..5f16a2ba 100644 --- a/headphones/deluge.py +++ b/headphones/deluge.py @@ -80,7 +80,7 @@ def addTorrent(link, data=None, name=None): result = {} retid = False - url_what = ['https://what.cd/', 'http://what.cd/'] + url_apollo = ['https://apollo.rip/', 'http://apollo.rip/'] url_waffles = ['https://waffles.ch/', 'http://waffles.ch/'] if link.lower().startswith('magnet:'): @@ -94,7 +94,7 @@ def addTorrent(link, data=None, name=None): if link.lower().startswith(tuple(url_waffles)): if 'rss=' not in link: link = link + '&rss=1' - if link.lower().startswith(tuple(url_what)): + if link.lower().startswith(tuple(url_apollo)): logger.debug('Deluge: Using different User-Agent for this site') user_agent = 'Headphones' # This method will make Deluge download the file