def url_filter(http_url_req):
 if http_url_req:
  d = ['.jpg', '.jpeg', '.gif', '.png', '.css', '.ico', '.js', '.svg', '.woff']
  if any((http_url_req.endswith(i) for i in d)):
   return
 return http_url_req

def url_filter ( http_url_req ) : if http_url_req : d = [ '.jpg' , '.jpeg' , '.gif' , '.png' , '.css' , '.ico' , '.js' , '.svg' , '.woff' ] if any ( ( http_url_req . endswith ( i ) for i in d ) ) : return return http_url_req
filter out the common but uninteresting urls .