http_request_randomizer.requests.useragent package

Submodules

http_request_randomizer.requests.useragent.userAgent module

class http_request_randomizer.requests.useragent.userAgent.UserAgentManager(agent_file='/Users/pgaref/Documents/workspace/HTTP_Request_Randomizer/http_request_randomizer/requests/useragent/../data/user_agents.txt')[source]
get_first_user_agent()[source]
get_last_user_agent()[source]
get_len_user_agent()[source]
get_random_user_agent()[source]

useragents : string array of different user agents :param useragents: :return random agent:

load_user_agents(useragentsfile)[source]
useragentfile : string
path to text file of user agents, one per line

Module contents