Resolved: Doubt about custom function at parameter in .find()
When I apply a custom function to the find() function, there are attributes that allow it to work, as in the case of 'colspan,' while in other situations, such as 'class' or 'href,' I receive a KeyError. I am attaching images of both situations
Best regards and thanks in advance;)
Best regards and thanks in advance;)
1 answers ( 1 marked as helpful)
its resolved , just use .get() to not stop code when attribute isn't in tag