mirror of
https://github.com/morpheus65535/bazarr
synced 2025-01-03 05:25:28 +00:00
no log: some pep8 fixes to legendasnet
This commit is contained in:
parent
b8aa2a8b1a
commit
42781d5b68
1 changed files with 32 additions and 30 deletions
|
@ -183,7 +183,8 @@ class LegendasNetProvider(ProviderRetryMixin, Provider):
|
||||||
subtitle = LegendasNetSubtitle(
|
subtitle = LegendasNetSubtitle(
|
||||||
language=Language('por', 'BR'),
|
language=Language('por', 'BR'),
|
||||||
forced=self._is_forced(item),
|
forced=self._is_forced(item),
|
||||||
page_link= f"https://legendas.net/tv_legenda?movie_id={result['tv_shows'][0]['tmdb_id']}&legenda_id={item['id']}",
|
page_link=f"https://legendas.net/tv_legenda?movie_id={result['tv_shows'][0]['tmdb_id']}&"
|
||||||
|
f"legenda_id={item['id']}",
|
||||||
download_link=item['path'],
|
download_link=item['path'],
|
||||||
file_id=item['id'],
|
file_id=item['id'],
|
||||||
release_names=[item.get('release_name', '')],
|
release_names=[item.get('release_name', '')],
|
||||||
|
@ -200,7 +201,8 @@ class LegendasNetProvider(ProviderRetryMixin, Provider):
|
||||||
subtitle = LegendasNetSubtitle(
|
subtitle = LegendasNetSubtitle(
|
||||||
language=Language('por', 'BR'),
|
language=Language('por', 'BR'),
|
||||||
forced=self._is_forced(item),
|
forced=self._is_forced(item),
|
||||||
page_link= f"https://legendas.net/legenda?movie_id={result['movies'][0]['tmdb_id']}&legenda_id={item['id']}",
|
page_link=f"https://legendas.net/legenda?movie_id={result['movies'][0]['tmdb_id']}&"
|
||||||
|
f"legenda_id={item['id']}",
|
||||||
download_link=item['path'],
|
download_link=item['path'],
|
||||||
file_id=item['id'],
|
file_id=item['id'],
|
||||||
release_names=[item.get('release_name', '')],
|
release_names=[item.get('release_name', '')],
|
||||||
|
|
Loading…
Reference in a new issue