{"action":"created","issue":{"url":"https://api.github.com/repos/VeNoMouS/cloudscraper/issues/47","repository_url":"https://api.github.com/repos/VeNoMouS/cloudscraper","labels_url":"https://api.github.com/repos/VeNoMouS/cloudscraper/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/VeNoMouS/cloudscraper/issues/47/comments","events_url":"https://api.github.com/repos/VeNoMouS/cloudscraper/issues/47/events","html_url":"https://github.com/VeNoMouS/cloudscraper/issues/47","id":452067535,"node_id":"MDU6SXNzdWU0NTIwNjc1MzU=","number":47,"title":"brotli.error: BrotliDecompress failed","user":{"login":"kxltsuper","id":16091724,"node_id":"MDQ6VXNlcjE2MDkxNzI0","avatar_url":"https://avatars0.githubusercontent.com/u/16091724?v=4","gravatar_id":"","url":"https://api.github.com/users/kxltsuper","html_url":"https://github.com/kxltsuper","followers_url":"https://api.github.com/users/kxltsuper/followers","following_url":"https://api.github.com/users/kxltsuper/following{/other_user}","gists_url":"https://api.github.com/users/kxltsuper/gists{/gist_id}","starred_url":"https://api.github.com/users/kxltsuper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kxltsuper/subscriptions","organizations_url":"https://api.github.com/users/kxltsuper/orgs","repos_url":"https://api.github.com/users/kxltsuper/repos","events_url":"https://api.github.com/users/kxltsuper/events{/privacy}","received_events_url":"https://api.github.com/users/kxltsuper/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2019-06-04T15:35:38Z","updated_at":"2019-06-06T08:28:25Z","closed_at":"2019-06-05T10:00:49Z","author_association":"NONE","body":"cloudscraper 1.1.16\r\n\r\nwebsite:  https://bwh88.net/\r\n\r\nscraper = cloudscraper.create_scraper()\r\nreq=scraper.get(\"https://bwh88.net/\")\r\n--------------------------\r\nTraceback (most recent call last):\r\n  File \"C:/Users/jsd/PycharmProjects/Uovz_qiangou/bwg_qianggou.py\", line 268, in <module>\r\n    main()\r\n  File \"C:/Users/jsd/PycharmProjects/Uovz_qiangou/bwg_qianggou.py\", line 72, in main\r\n    req=scraper.get(\"http://bwh88.net/\")\r\n  File \"C:\\Python27\\lib\\site-packages\\requests-2.22.0-py2.7.egg\\requests\\sessions.py\", line 546, in get\r\n    return self.request('GET', url, **kwargs)\r\n  File \"C:\\Python27\\lib\\site-packages\\cloudscraper\\__init__.py\", line 139, in request\r\n    resp._content = brotli.decompress(resp.content)\r\nbrotli.error: BrotliDecompress failed"},"comment":{"url":"https://api.github.com/repos/VeNoMouS/cloudscraper/issues/comments/499399965","html_url":"https://github.com/VeNoMouS/cloudscraper/issues/47#issuecomment-499399965","issue_url":"https://api.github.com/repos/VeNoMouS/cloudscraper/issues/47","id":499399965,"node_id":"MDEyOklzc3VlQ29tbWVudDQ5OTM5OTk2NQ==","user":{"login":"VeNoMouS","id":597545,"node_id":"MDQ6VXNlcjU5NzU0NQ==","avatar_url":"https://avatars0.githubusercontent.com/u/597545?v=4","gravatar_id":"","url":"https://api.github.com/users/VeNoMouS","html_url":"https://github.com/VeNoMouS","followers_url":"https://api.github.com/users/VeNoMouS/followers","following_url":"https://api.github.com/users/VeNoMouS/following{/other_user}","gists_url":"https://api.github.com/users/VeNoMouS/gists{/gist_id}","starred_url":"https://api.github.com/users/VeNoMouS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VeNoMouS/subscriptions","organizations_url":"https://api.github.com/users/VeNoMouS/orgs","repos_url":"https://api.github.com/users/VeNoMouS/repos","events_url":"https://api.github.com/users/VeNoMouS/events{/privacy}","received_events_url":"https://api.github.com/users/VeNoMouS/received_events","type":"User","site_admin":false},"created_at":"2019-06-06T08:28:25Z","updated_at":"2019-06-06T08:28:25Z","author_association":"OWNER","body":"thanks @kxltsuper , that helped  me track down the issue, urllib3 1.25.1 added in brotli decompression support\r\n\r\nif you are running 2.22.0 you are more than most likely running new urllib3\r\n\r\n```python\r\nimport requests\r\nrequests.packages.urllib3.__version__\r\n```\r\n\r\nAnyway I am adding in a fix for it now"}}
{"actor":{"display_login":"VeNoMouS"}}