Closed enigmalea closed 3 years ago
Depending on how authors are adding images and what AO3 is doing with that, I'm running into a few works which return a KeyError because there is a blank img tag with no src defined.
(For reference the above code is from here)
Is there a way you can have chapters.get_images exclude blank img tags so other images are still retrievable?
Thanks for letting me know of this bug!
Depending on how authors are adding images and what AO3 is doing with that, I'm running into a few works which return a KeyError because there is a blank img tag with no src defined.
(For reference the above code is from here)
Is there a way you can have chapters.get_images exclude blank img tags so other images are still retrievable?