Browse Source

Fix multiep magnets are not downloadable.

Change remove dead magnet cache services.
tags/release_0.25.3^2
JackDandy 4 years ago
parent
commit
b37b3c7056
  1. 2
      CHANGES.md
  2. 3
      sickbeard/providers/generic.py
  3. 5
      sickbeard/search.py

2
CHANGES.md

@ -1,6 +1,8 @@
### 0.25.3 (2021-09-21 22:00:00 UTC)
* Fix filter in history API endpoint
* Fix multiep magnets are not downloadable
* Change remove dead magnet cache services
### 0.25.2 (2021-09-20 20:00:00 UTC)

3
sickbeard/providers/generic.py

@ -750,8 +750,7 @@ class GenericProvider(object):
return False
urls = ['http%s://%s/torrent/%s.torrent' % (u + (btih.upper(),))
for u in (('s', 'itorrents.org'), ('s', 'torrage.info'), ('', 'reflektor.karmorra.info'),
('', 'thetorrent.org'))]
for u in (('s', 'itorrents.org'), ('s', 'torrage.info'))]
except (BaseException, Exception):
link_type = 'torrent'
urls = [result.url]

5
sickbeard/search.py

@ -970,8 +970,9 @@ def search_providers(
ep_obj_list.append(show_obj.get_episode(ep_num[0], ep_num[1]))
best_season_result.ep_obj_list = ep_obj_list
best_season_result = cache_torrent_file(
best_season_result, show_obj=show_obj, filter_rls=orig_thread_name)
if not best_season_result.url.startswith('magnet'):
best_season_result = cache_torrent_file(
best_season_result, show_obj=show_obj, filter_rls=orig_thread_name)
if best_season_result:
ep_num = MULTI_EP_RESULT

Loading…
Cancel
Save