mirror of
https://github.com/SickGear/SickGear.git
synced 2024-11-15 09:25:04 +00:00
Fix trending url_path for next_episode cards.
This commit is contained in:
parent
38fa523ac9
commit
4f5fbbfea9
1 changed files with 1 additions and 1 deletions
|
@ -5187,7 +5187,7 @@ class AddShows(Home):
|
||||||
started_past = False
|
started_past = False
|
||||||
params = f'premiering_period={("1", "2")["2" in url_path]}&sort=2'
|
params = f'premiering_period={("1", "2")["2" in url_path]}&sort=2'
|
||||||
url_path = 'upcoming'
|
url_path = 'upcoming'
|
||||||
elif 'trending' in url_path:
|
elif 'trends' in url_path:
|
||||||
params = 'trending_within=2'
|
params = 'trending_within=2'
|
||||||
else:
|
else:
|
||||||
params = f'chart_type={("most_popular", "top_rated")["Top" in browse_title]}&premiered_within=2'
|
params = f'chart_type={("most_popular", "top_rated")["Top" in browse_title]}&premiered_within=2'
|
||||||
|
|
Loading…
Reference in a new issue