(self, level, response)
return None
generate unique linkedin id, now use the url
generate unique linkedin id, now use the url
generate unique linkedin id now use the url
def get_clean_file_name(self, level, response):
        """
        generate unique linkedin id, now use the url
        """
        url = response.url
        if level in [1, 2, 3]:
            return url.split("/")[-1]

        linkedin_id = self.get_linkedin_id(url)
        if linkedin_id:
            return linkedin_id
        return None
def get_clean_file_name ( self , level , response ) : url = response . url if level in [ 1 , 2 , 3 ] : return url . split ( "/" ) [ - 1 ] linkedin_id = self . get_linkedin_id ( url ) if linkedin_id : return linkedin_id return None