code: def get_proxies():
      
      proxies = getproxies()
      filtered_proxies = {}
      for key, value in proxies.items():
          if key.startswith('http://'):
              if not value.startswith('http://'):
                  filtered_proxies[key] = 'http://{0}'.format(value)
              else:
                  filtered_proxies[key] = value
      return filtered_proxies
docs: Get available proxies to use with requests library.