random_user_agent
random_user_agent copied to clipboard
Loading from a json config file for more flexibility when using across different scripts
loading from a config file
user_agent_rotator = UserAgent(config_file="mobile_devices.json", limit=100)
example config file:
{
"operating_systems": ["ios", "android"],
"software_names": ["safari", "chrome"]
}