notepadpw-cli
notepadpw-cli copied to clipboard
BrotliDecompress not able to use on MacOS
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/npwcli/cli.py", line 74, in start
notepad = Notepad(link, live_update=live_update)
File "/usr/local/lib/python3.7/site-packages/npwcli/update_content.py", line 58, in __init__
self.spider = Spider(self.domain+self.url_key)
File "/usr/local/lib/python3.7/site-packages/npwcli/spider.py", line 37, in __init__
self.hit("https://notepad.pw/fetch/"+self.url_key+"/?_=153264234352")
File "/usr/local/lib/python3.7/site-packages/npwcli/spider.py", line 91, in hit
self.content = decompress(response_obj.read()).decode('utf-8')
brotli.error: BrotliDecompress failed
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/bin/npw", line 10, in <module>
sys.exit(start())
File "/usr/local/lib/python3.7/site-packages/npwcli/cli.py", line 78, in start
print(e.stacktrace())
AttributeError: 'error' object has no attribute 'stacktrace'