Skip to content

Commit

Permalink
Include server URL in Yify subtitle page link
Browse files Browse the repository at this point in the history
Fix for issue #2409
  • Loading branch information
JaiZed committed Feb 26, 2024
1 parent f95db43 commit b24ee30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/subliminal_patch/providers/yifysubtitles.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def _parse_row(self, row, languages, server_url):
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

Expand Down

0 comments on commit b24ee30

Please sign in to comment.