Skip to content
Advertisement

How to remove target tr block using beautifulsoup

I want to remove target tr block with text, when i run it i got perfect output but there is a problem i have seen that it scraping <tr><td>Domain</td><td>Last Resolved Date</td></tr> actually i don’t want this line in my output so how can i remove it.Code bellow

Got fix

Old Code

JavaScript

Fixed

JavaScript

Advertisement

Answer

Try the code.

JavaScript
User contributions licensed under: CC BY-SA
9 People found this is helpful
Advertisement