Skip to content

Commit 0ad762e

Browse files
committed
Fixed: UR Play regex.
1 parent 12bd8f7 commit 0ad762e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

channels/channel.se/urplay/chn_urplay.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ def process_folder_list(self, parent_item: Optional[MediaItem] = None) -> List[M
151151
UriHandler.header(old_url)
152152
if UriHandler.instance().status.code >= 400:
153153
# Replace the build version!
154-
parts = Regexer.do_regex(r"^(.+/_next/data/)[^/]+(/.+\.json)$", old_url)[0]
154+
parts = Regexer.do_regex(r"^(.+/_next/data/)[^/]+(/.+\.json.*)$", old_url)[0]
155155
new_url = f"{parts[0]}{self.build_version}{parts[1]}"
156156
parent_item.url = new_url
157157

0 commit comments

Comments
 (0)