Jan-13-2021, 04:08 PM
Hello,
When I print type of a particular element, the output is:
The following check
Any suggestions ?
Thanks.
When I print type of a particular element, the output is:
Output:<class 'bs4.element.Tag'>
How to check it in condition statement ?The following check
if type(aaa) == bs4.element.Tag:doesn't work.
Any suggestions ?
Thanks.