Closed Eiji7 closed 1 year ago
I fixed the first part in #666, but for the second about the request expiring it appears we'd need to think of something different to get re-usable images. Either re-request a new URL whenever we need one and the previous one has expired or cache the thumbnails aggressively on disk. I'd prefer the former, combined with caching if that's not happening already (didn't check).
Kitsu could help us with this if they made their URLs accessible for longer, but to really make it usable with the current trackma state it would need to persist for as long as we don't re-fetch the list, which is user-configurable and thus not really on them to consider.
I closed the first part in #666 and created a separate ticket for the expiring URLs at #669. Thanks for reporting.
Hi, as in title I got
KeyError
.Here is a
Traceback
:I have installed
trackma
usingpip3
(v0.8.5).I have changed code this way:
and found the media entry causing error:
Then I have used Python Formatter site and here is the result:
Using above data I have found an anime url Strike the Blood FINAL.
Later I tried the search engine on![kitsu search screenshot](https://user-images.githubusercontent.com/10956022/212471481-85d51ae6-a52f-4cf6-a076-5dd8aa741059.png)
kitsu
page:Finally I tried to open missing image in new tab and got another error:
Looks like a
kitsu
issue, but not handling missing data like this does not allow to useTrackma
at all, so that's why I have opened this issue. Could you please update the code to takesmall
version ororiginal
version ofposterImage
?Edit: I have also created an issue on kitsu feedback page.