Fix trending url_path for next_episode cards.

This commit is contained in:
JackDandy 2024-03-03 22:52:05 +00:00
parent 38fa523ac9
commit 4f5fbbfea9

View file

@ -5187,7 +5187,7 @@ class AddShows(Home):
started_past = False
params = f'premiering_period={("1", "2")["2" in url_path]}&sort=2'
url_path = 'upcoming'
elif 'trending' in url_path:
elif 'trends' in url_path:
params = 'trending_within=2'
else:
params = f'chart_type={("most_popular", "top_rated")["Top" in browse_title]}&premiered_within=2'