[23] fix flixpatrol_url

This commit is contained in:
meisnate12 2022-07-13 09:17:54 -04:00
parent 368b22fd03
commit 0e4e4061f3
2 changed files with 2 additions and 2 deletions

View file

@ -1 +1 @@
1.17.1-develop22
1.17.1-develop23

View file

@ -69,7 +69,7 @@ class FlixPatrol:
elif list_url.startswith(tuple([v for k, v in urls.items()])):
flixpatrol_urls = self._request(
list_url, language,
f"//a[@class='flex group' and .//span[.='{'Movie' if is_movie else 'TV Show'}']]/@href"
f"//a[contains(@class, 'flex group') and .//span[.='{'Movie' if is_movie else 'TV Show'}']]/@href"
)
return flixpatrol_urls if limit == 0 else flixpatrol_urls[:limit]