Skip to content

Instantly share code, notes, and snippets.

@AnderRV
Created August 20, 2021 10:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AnderRV/663a0667e384c79bcedcda8e1d8eff27 to your computer and use it in GitHub Desktop.
Save AnderRV/663a0667e384c79bcedcda8e1d8eff27 to your computer and use it in GitHub Desktop.
import random
free_proxies = [
{'http': 'http://62.33.210.34:58918', 'https': 'http://194.233.69.41:443'},
{'http': 'http://190.64.18.177:80', 'https': 'http://203.193.131.74:3128'},
]
proxies = {
'free': free_proxies,
}
def random_proxies(type='free'):
return random.choice(proxies[type])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment