mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2024-11-22 12:33:10 +00:00
letterboxd fix
This commit is contained in:
parent
5fa0b9ae49
commit
1dd8e727ef
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ class LetterboxdAPI:
|
||||||
ids = response.xpath("//body/@data-tmdb-id")
|
ids = response.xpath("//body/@data-tmdb-id")
|
||||||
if len(ids) > 0 and ids[0]:
|
if len(ids) > 0 and ids[0]:
|
||||||
return int(ids[0])
|
return int(ids[0])
|
||||||
raise Failed(f"Letterboxd Error: TMDb ID not found at {letterboxd_url}")
|
raise Failed(f"Letterboxd Error: TMDb Movie ID not found at {letterboxd_url}")
|
||||||
|
|
||||||
def get_items(self, method, data, language, status_message=True):
|
def get_items(self, method, data, language, status_message=True):
|
||||||
pretty = util.pretty_names[method] if method in util.pretty_names else method
|
pretty = util.pretty_names[method] if method in util.pretty_names else method
|
||||||
|
|
Loading…
Reference in a new issue