{"action":"created","issue":{"url":"https://api.github.com/repos/pgaref/HTTP_Request_Randomizer/issues/42","repository_url":"https://api.github.com/repos/pgaref/HTTP_Request_Randomizer","labels_url":"https://api.github.com/repos/pgaref/HTTP_Request_Randomizer/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/pgaref/HTTP_Request_Randomizer/issues/42/comments","events_url":"https://api.github.com/repos/pgaref/HTTP_Request_Randomizer/issues/42/events","html_url":"https://github.com/pgaref/HTTP_Request_Randomizer/issues/42","id":296219503,"number":42,"title":"Empty Proxy List ","user":{"login":"cbjrobertson","id":22371870,"avatar_url":"https://avatars1.githubusercontent.com/u/22371870?v=4","gravatar_id":"","url":"https://api.github.com/users/cbjrobertson","html_url":"https://github.com/cbjrobertson","followers_url":"https://api.github.com/users/cbjrobertson/followers","following_url":"https://api.github.com/users/cbjrobertson/following{/other_user}","gists_url":"https://api.github.com/users/cbjrobertson/gists{/gist_id}","starred_url":"https://api.github.com/users/cbjrobertson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbjrobertson/subscriptions","organizations_url":"https://api.github.com/users/cbjrobertson/orgs","repos_url":"https://api.github.com/users/cbjrobertson/repos","events_url":"https://api.github.com/users/cbjrobertson/events{/privacy}","received_events_url":"https://api.github.com/users/cbjrobertson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-11T19:52:36Z","updated_at":"2018-02-12T00:43:47Z","closed_at":null,"author_association":"NONE","body":"I am running `http_request_randomizer` via your `python` api on `python 3.6` on `OSX 10.13.1`. Running the method call recommended [here](https://github.com/pgaref/HTTP_Request_Randomizer#api) results in the following log and error. The list of proxies is apparently empty due to various errors in the proxy list parser requests. Is this something I'm doing wrong or a bug?\r\n\r\n```\r\n\r\n2018-02-11 19:38:45,974 root   DEBUG    === Initialized Proxy Parsers ===\r\n2018-02-11 19:38:45,977 root   DEBUG             FreeProxy Parser of 'http://free-proxy-list.net' with required bandwidth: '150' KBs\r\n2018-02-11 19:38:45,979 root   DEBUG             ProxyForEU Parser of 'http://proxyfor.eu/geo.php' with required bandwidth: '1.0' KBs\r\n2018-02-11 19:38:45,985 root   DEBUG             RebroWeebly Parser of 'http://rebro.weebly.com' with required bandwidth: '150' KBs\r\n2018-02-11 19:38:45,991 root   DEBUG             SemairProxy Parser of 'https://premproxy.com/list/' with required bandwidth: '150' KBs\r\n2018-02-11 19:38:45,994 root   DEBUG    =================================\r\n/anaconda3/lib/python3.6/site-packages/urllib3/connection.py:344: SubjectAltNameWarning: Certificate for free-proxy-list.net has no `subjectAltName`, falling back to check for a `commonName` for now. This feature is being removed by major browsers and deprecated by RFC 2818. (See https://github.com/shazow/urllib3/issues/497 for details.)\r\n  SubjectAltNameWarning\r\n2018-02-11 19:38:46,140 urllib3.connection ERROR    Certificate did not match expected hostname: free-proxy-list.net. Certificate: {'subject': ((('commonName', 'sni108365.cloudflaressl.com'),),), 'subjectAltName': []}\r\n2018-02-11 19:38:46,143 http_request_randomizer.requests.parsers.FreeProxyParser ERROR    Provider FreeProxy failed with Unknown error: HTTPSConnectionPool(host='free-proxy-list.net', port=443): Max retries exceeded with url: / (Caused by SSLError(CertificateError(\"hostname 'free-proxy-list.net' doesn't match 'sni108365.cloudflaressl.com'\",),))\r\n2018-02-11 19:38:46,222 http_request_randomizer.requests.parsers.ProxyForEuParser ERROR    Provider ProxyForEU failed with Attribute error: 'NoneType' object has no attribute 'find'\r\n2018-02-11 19:38:46,590 http_request_randomizer.requests.parsers.RebroWeeblyParser WARNING  Proxy Provider url failed: http://rebro.weebly.com\r\n/anaconda3/lib/python3.6/site-packages/urllib3/connection.py:344: SubjectAltNameWarning: Certificate for premproxy.com has no `subjectAltName`, falling back to check for a `commonName` for now. This feature is being removed by major browsers and deprecated by RFC 2818. (See https://github.com/shazow/urllib3/issues/497 for details.)\r\n  SubjectAltNameWarning\r\n2018-02-11 19:38:46,741 http_request_randomizer.requests.parsers.SamairProxyParser DEBUG    Pages: set()\r\nTraceback (most recent call last):\r\n\r\n  File \"<ipython-input-35-fafe89d53dac>\", line 1, in <module>\r\n    runfile('/Users/cole/Desktop/webScraping/requestProxy.py', wdir='/Users/cole/Desktop/webScraping')\r\n\r\n  File \"/anaconda3/lib/python3.6/site-packages/spyder/utils/site/sitecustomize.py\", line 705, in runfile\r\n    execfile(filename, namespace)\r\n\r\n  File \"/anaconda3/lib/python3.6/site-packages/spyder/utils/site/sitecustomize.py\", line 102, in execfile\r\n    exec(compile(f.read(), filename, 'exec'), namespace)\r\n\r\n  File \"/Users/cole/Desktop/webScraping/requestProxy.py\", line 18, in <module>\r\n    req_proxy = RequestProxy()\r\n\r\n  File \"/anaconda3/lib/python3.6/site-packages/http_request_randomizer/requests/proxy/requestProxy.py\", line 60, in __init__\r\n    self.current_proxy = self.randomize_proxy()\r\n\r\n  File \"/anaconda3/lib/python3.6/site-packages/http_request_randomizer/requests/proxy/requestProxy.py\", line 77, in randomize_proxy\r\n    raise ProxyListException(\"list is empty\")\r\n\r\nProxyListException: list is empty\r\n\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/pgaref/HTTP_Request_Randomizer/issues/comments/364806696","html_url":"https://github.com/pgaref/HTTP_Request_Randomizer/issues/42#issuecomment-364806696","issue_url":"https://api.github.com/repos/pgaref/HTTP_Request_Randomizer/issues/42","id":364806696,"user":{"login":"pgaref","id":2953485,"avatar_url":"https://avatars2.githubusercontent.com/u/2953485?v=4","gravatar_id":"","url":"https://api.github.com/users/pgaref","html_url":"https://github.com/pgaref","followers_url":"https://api.github.com/users/pgaref/followers","following_url":"https://api.github.com/users/pgaref/following{/other_user}","gists_url":"https://api.github.com/users/pgaref/gists{/gist_id}","starred_url":"https://api.github.com/users/pgaref/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pgaref/subscriptions","organizations_url":"https://api.github.com/users/pgaref/orgs","repos_url":"https://api.github.com/users/pgaref/repos","events_url":"https://api.github.com/users/pgaref/events{/privacy}","received_events_url":"https://api.github.com/users/pgaref/received_events","type":"User","site_admin":false},"created_at":"2018-02-12T00:43:47Z","updated_at":"2018-02-12T00:43:47Z","author_association":"OWNER","body":"Hello @cbjrobertson ,\r\n\r\nI was unable to reproduce the error with Python 3.6.4 but I am quite sure the error is related to your python distribution (Conda) and more precisly with the way they verify SSL certificates. Source: https://github.com/conda/conda/issues/5170\r\n\r\nI would either try their solution or a clean (non-Conda) python interpreter."}}
{"actor":{"display_login":"pgaref"}}