ghomasHudson / Jellyfin-Auto-Collections

Automatically make jellyfin collections from IMDB, Letterboxd lists and more.
MIT License
85 stars 11 forks source link

IndexError: list index out of range #15

Closed skinnyzaz closed 3 months ago

skinnyzaz commented 1 year ago

config is setup for imdb_chart_ids = ["moviemeter"] When I run imdb_chart.py I get the following.

Getting collections list...

Traceback (most recent call last):
  File "/opt/Jellyfin-Auto-Collections/imdb_chart.py", line 36, in <module>
    list_name = html.unescape(res.text.split('<h1 class="header">')[1].split("</h1>")[0])
IndexError: list index out of range
ghomasHudson commented 1 year ago

Just confirmed that on my version - will investigate.

ghomasHudson commented 1 year ago

I think it's a imdb website change thing. Tempted to use the official API if this gets any more complicated.

skinnyzaz commented 1 year ago

I am available for any testing needed.

slimshizn commented 7 months ago

Any update on this?

skinnyzaz commented 5 months ago

Just tested this again hoping it would work but sadly its still broken :(

ghomasHudson commented 3 months ago

Just tested this again hoping it would work but sadly its still broken :(

Have done a complete rewrite of this repo to make things a lot more modular and robust. This should fix your issue. Let me know if not.