Skip to content
Advertisement

Remove unnecessary url from scrapy

JavaScript

I want to remove these unnecessary url from the link the website is https://www.ifep.ro/justice/lawyers/lawyerspanel.aspx

JavaScript

enter image description here

Advertisement

Answer

You can apply endswith method along with continue keyword to remove the desired urls

JavaScript

Output:

JavaScript
Advertisement