{"id":29861854,"url":"https://github.com/tigregotico/anon_requests","last_synced_at":"2025-07-30T05:37:53.978Z","repository":{"id":57410482,"uuid":"330702250","full_name":"TigreGotico/anon_requests","owner":"TigreGotico","description":"anonymous requests","archived":false,"fork":false,"pushed_at":"2024-10-25T22:06:38.000Z","size":35,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"dev","last_synced_at":"2025-07-12T23:51:39.854Z","etag":null,"topics":["anonymous","proxies","proxy","proxy-checker","proxy-list","proxy-scraper","proxy-scrapper","proxypool","python","requests","requests-module","tor"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TigreGotico.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-01-18T15:05:36.000Z","updated_at":"2025-06-13T17:35:21.000Z","dependencies_parsed_at":"2024-12-30T08:19:57.778Z","dependency_job_id":"b7e017e7-4228-4b36-bbb3-0ee2f48cd346","html_url":"https://github.com/TigreGotico/anon_requests","commit_stats":null,"previous_names":["openjarbas/anon_requests"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TigreGotico/anon_requests","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TigreGotico%2Fanon_requests","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TigreGotico%2Fanon_requests/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TigreGotico%2Fanon_requests/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TigreGotico%2Fanon_requests/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TigreGotico","download_url":"https://codeload.github.com/TigreGotico/anon_requests/tar.gz/refs/heads/dev","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TigreGotico%2Fanon_requests/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267815372,"owners_count":24148397,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-30T02:00:09.044Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["anonymous","proxies","proxy","proxy-checker","proxy-list","proxy-scraper","proxy-scrapper","proxypool","python","requests","requests-module","tor"],"created_at":"2025-07-30T05:37:52.852Z","updated_at":"2025-07-30T05:37:53.946Z","avatar_url":"https://github.com/TigreGotico.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Anon Requests\n\nanonymous python requests\n\n## Install\n\n```bash\npip install anon_requests\n```\n\n## Usage\n\nsee [examples folder](./examples) for more use cases\n\nProxies\n```python\nfrom anon_requests import RotatingProxySession\nfrom anon_requests import ProxyType\n\n# validate=True will check if all proxies are functioning (default False)\n# validated proxies will be used first\n# \"bad\" proxies will be tried once you run out of good proxies\n# everytime it runs out of unused proxies, it will start reusing old ones\n# pass ignore_bad=False to not try the \"bad\" proxies at all (default True)\nwith RotatingProxySession(proxy_type=ProxyType.SOCKS5, validate=True) \\\n        as session:\n    for i in range(5):\n        # every request rotates proxy before being made\n        # keeps trying until we get 200 status code\n        # will only repeat a proxy once all have been tried\n        # this means it can hang for a while here until request succeeds\n        response = session.get('https://ipecho.net/plain', timeout=5)\n        print(response.text)  # Not your ip address, different every time\n```\n\nTor\n```python\nfrom anon_requests import RotatingTorSession\n\n# Choose a proxy port, a control port, and a password.\n# Defaults are 9050, 9051, and None respectively.\n# If there is already a Tor process listening the specified\n# ports, TorSession will use that one.\n# Otherwise, it will create a new Tor process,\n# and terminate it at the end.\nwith RotatingTorSession(proxy_port=9050, ctrl_port=9051,\n                        password=\"MYSUPERSAFEPSWD\") as session:\n    for i in range(5):\n        response = session.get('https://ipecho.net/plain')\n        print(response.text)  # not your IP address, different every time\n```\n\n## Proxy Sources\n\nProxies are scrapped from the following websites\n\n- http://free-proxy.cz\n- https://free-proxy-list.net\n- https://www.socks-proxy.net\n- https://www.sslproxies.org\n- https://www.us-proxy.org\n- https://hidemy.name\n- http://proxydb.net\n- https://www.proxynova.com\n- https://www.proxyscan.io\n- http://pubproxy.com\n- https://spys.me\n- https://spys.one\n\n## TODO\n\n- import/export proxy list\n- suggest more in github issues!","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftigregotico%2Fanon_requests","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftigregotico%2Fanon_requests","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftigregotico%2Fanon_requests/lists"}