Skip to content

Commit

Permalink
Fixed: Determine the 'New on SVT'-ID (again without incorrect regex).
Browse files Browse the repository at this point in the history
  • Loading branch information
basrieter committed Jan 1, 2024
1 parent 49c5952 commit 44b8677
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion channels/channel.se/svt/chn_svt.py
Original file line number Diff line number Diff line change
Expand Up @@ -882,7 +882,7 @@ def create_api_search_hit(self, result_set):
return self.create_api_genre_type(result_set)

def extract_new_on_svt_id(self, data: str) -> Tuple[str, List[MediaItem]]:
new_id = Regexer.do_regex(r'href="/lista/(svtId_8YqXpEz)/nytt-pa-play"', data)[0]
new_id = Regexer.do_regex(r'href="/lista/([^/]+)/nytt-pa-play"', data)[0]
url = self.__get_api_url(
"FionaPage",
"b4e65a8f4cedc6bd9981e3539690908443f625c6854ea65f18c4b3b3be66b5dc",
Expand Down

0 comments on commit 44b8677

Please sign in to comment.