1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2025-01-03 05:25:28 +00:00

Include server URL in Yify subtitle page link

Fix for issue #2409
This commit is contained in:
JayZed 2024-02-26 12:06:45 -05:00
parent f95db43a2f
commit b24ee309ed

View file

@ -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