mirror of
https://github.com/morpheus65535/bazarr
synced 2025-02-23 06:21:05 +00:00
no log: update legendasdivx subtitle id property
This commit is contained in:
parent
23e847290b
commit
4e6fd61188
1 changed files with 4 additions and 1 deletions
|
@ -47,6 +47,9 @@ class LegendasdivxSubtitle(Subtitle):
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def id(self):
|
def id(self):
|
||||||
|
try:
|
||||||
|
return self.page_link.split("=")[-1]
|
||||||
|
except IndexError:
|
||||||
return f"legendasdivx_{self.video.imdb_id}_{self.release_info}_{self.uploader}"
|
return f"legendasdivx_{self.video.imdb_id}_{self.release_info}_{self.uploader}"
|
||||||
|
|
||||||
def get_matches(self, video):
|
def get_matches(self, video):
|
||||||
|
|
Loading…
Reference in a new issue