diff --git a/couchpotato/core/downloaders/base.py b/couchpotato/core/downloaders/base.py index eb704205..504ddac8 100644 --- a/couchpotato/core/downloaders/base.py +++ b/couchpotato/core/downloaders/base.py @@ -67,7 +67,10 @@ class Downloader(Plugin): for source in sources: try: - filedata = self.urlopen(source % torrent_hash, show_error = False) + filedata = self.urlopen(source % torrent_hash, headers = {'Referer': ''}, show_error = False) + if 'torcache' in filedata and 'file not found' in filedata.lower(): + continue + return filedata except: log.debug('Torrent hash "%s" wasn\'t found on: %s', (torrent_hash, source))