(self, url)
return response
Sends a POST/GET requests using a random user agent
        :param url: the url to visit
        :return: the response Requests object
Sends a POST/GET requests using a random user agent
        :param url: the url to visit
        :return: the response Requests object
Sends a POST / GET requests using a random user agent : param url : the url to visit : return : the response Requests object
def _request(self, url):
        """
        Sends a POST/GET requests using a random user agent
        :param url: the url to visit
        :return: the response Requests object
        """
        random_user_agent = random.choice(self._config["user_agents"])
        headers = {'user-agent': random_user_agent}

        response = requests.get(url, headers=headers, timeout=5)

        return response
def _request ( self , url ) : random_user_agent = random . choice ( self . _config [ "user_agents" ] ) headers = { 'user-agent' : random_user_agent } response = requests . get ( url , headers = headers , timeout = 5 ) return response