aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJayZed <[email protected]>2024-02-26 12:06:45 -0500
committerJayZed <[email protected]>2024-02-26 12:06:45 -0500
commitb24ee309ed0e781bf6e11435de7b5cf15559e96d (patch)
tree88c5bbfdf6a35e6016e1847a6e30a484cc5ec2b9
parentf95db43a2fc7d485ed5c2216e63884df9ad8ec14 (diff)
downloadbazarr-b24ee309ed0e781bf6e11435de7b5cf15559e96d.tar.gz
bazarr-b24ee309ed0e781bf6e11435de7b5cf15559e96d.zip
Include server URL in Yify subtitle page linkv1.4.3-beta.3
Fix for issue #2409
-rw-r--r--libs/subliminal_patch/providers/yifysubtitles.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/subliminal_patch/providers/yifysubtitles.py b/libs/subliminal_patch/providers/yifysubtitles.py
index 974582292..27e919dab 100644
--- a/libs/subliminal_patch/providers/yifysubtitles.py
+++ b/libs/subliminal_patch/providers/yifysubtitles.py
@@ -123,7 +123,7 @@ class YifySubtitlesProvider(Provider):
rating = int(td[0].text)
sub_lang = td[1].text
release = re.sub(r'^\nsubtitle ', '', td[2].text)
- page_link = td[2].find('a').get('href')
+ page_link = urljoin(server_url, td[2].find('a').get('href'))
hi = True if td[3].find('span', {'class': 'hi-subtitle'}) else False
uploader = td[4].text