mirror of
https://github.com/morpheus65535/bazarr.git
synced 2024-11-10 17:13:35 +08:00
Fix for #1187
This commit is contained in:
parent
772efee565
commit
b6b374abfa
1 changed files with 2 additions and 2 deletions
|
@ -97,7 +97,7 @@ class GreekSubsProvider(Provider):
|
|||
language = Language.fromalpha2(subtitles_item.parent.find('img')['alt'])
|
||||
version = subtitles_item.contents[2].contents[4].text.strip()
|
||||
uploader = subtitles_item.contents[2].contents[5].contents[0].contents[1].text.strip()
|
||||
referer = episode_page
|
||||
referer = episode_page.encode('utf-8')
|
||||
|
||||
r = self.session.get(page_link,
|
||||
headers={'Referer': referer},
|
||||
|
@ -152,7 +152,7 @@ class GreekSubsProvider(Provider):
|
|||
version = subtitles_item.contents[2].contents[4].text.strip()
|
||||
uploader = subtitles_item.contents[2].contents[5].contents[0].contents[
|
||||
1].text.strip()
|
||||
referer = page_link
|
||||
referer = page_link.encode('utf-8')
|
||||
|
||||
r = self.session.get(page_link,
|
||||
headers={'Referer': referer},
|
||||
|
|
Loading…
Reference in a new issue