bbrown430 / plex-poster-set-helper

A tool to help upload sets of posters from ThePosterDB and MediUX to your Plex server in seconds!
72 stars 17 forks source link

Mediux links with only posters and no title cards failing #24

Closed 123JackCole closed 5 months ago

123JackCole commented 5 months ago

The script is failing when run on a mediux set that only contains posters. (for example, https://mediux.pro/sets/13716 or ). The failure occurs in the scrape_mediux function. script.text will not contain 'title' so poster_data will never be set and the for loops iterating through poster_data will throw an error.

image

image

123JackCole commented 5 months ago

Another example url that produces the same error https://mediux.pro/sets/8113

bbrown430 commented 5 months ago

Swamped with finals this and next week but will tackle this when I find the time. Thanks for bringing this to my attention!

bbrown430 commented 5 months ago

this should be fixed now