<jupyter_start><jupyter_text>Where to look the real IP = http://www.cualesmiip.com/Where to look for free proxies https and socks = https://free-proxy-list.net/<jupyter_code>def get_ip(url = 'http://www.cualesmiip.com/', proxies = None):
    
    try:
        r = requests.get(url, proxies = proxies)
    except Exception as e:
        print('The request failed')
        print('\n')
        print(e)
        return None
    
    if r.status_code != 200:
        print("Status Code:", r.status_code)
        return None
    
    #search for the Ip in the request
    regex = re.compile(r'(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})')
    my_ip = regex.findall(r.text)
    
    return my_ip[0] if my_ip else None
        
    
get_ip()
proxy_dict = {'http':'http://192.168.3.11:8080',
              'https':'http://192.168.3.11:8080'}
get_ip(proxies = proxy_dict)
socks_dict = {'http':'socks4://192.168.127.12:1080',
              'https':'socks4://192.168.127.12:1080'}
get_ip(proxies = socks_dict)<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.16748285994123407, 'fraction_numerical': 0.06856023506366307, 'mean_word_length': 2.5985915492957745, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 1, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 4, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '445908', 'license': 'MIT', 'n_tokens_mistral': 430, 'n_tokens_neox': 381, 'n_words': 72, 'path': 'proxies/ProxiesChange.ipynb', 'repo_name': 'AndresRubianoM/BasicWebScrapping-', 'size': '1021'}