Hi there,
Hoping someone knowledgable is able to tell me what I'm doing wrong.
Server config is all fine, can paste and retrieve via browser.
Using python 3.9.6 on Win10
Traceback (most recent call last):
File "C:/python/pste.py", line 2, in <module>
response = privatebinapi.get("https://paste.facade.cf/?8c6aa7ff474b3136#9TsK19cm4mdxq6JTCnDzUiMyxEYQkGEYwrsJu8MJMPpy")
File "C:\Users\facade\AppData\Local\Programs\Python\Python39\lib\site-packages\privatebinapi\download.py", line 80, in get
return decrypt_paste(verify_response(response), extract_passphrase(url), password=password)
File "C:\Users\facade\AppData\Local\Programs\Python\Python39\lib\site-packages\privatebinapi\common.py", line 26, in verify_response
data = response.json()
File "C:\Users\facade\AppData\Local\Programs\Python\Python39\lib\site-packages\requests\models.py", line 900, in json
return complexjson.loads(self.text, **kwargs)
File "C:\Users\facade\AppData\Local\Programs\Python\Python39\lib\site-packages\simplejson\__init__.py", line 525, in loads
return _default_decoder.decode(s)
File "C:\Users\facade\AppData\Local\Programs\Python\Python39\lib\site-packages\simplejson\decoder.py", line 370, in decode
obj, end = self.raw_decode(s)
File "C:\Users\facade\AppData\Local\Programs\Python\Python39\lib\site-packages\simplejson\decoder.py", line 400, in raw_decode
return self.scan_once(s, idx=_w(s, idx).end())
simplejson.errors.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Hi there, Hoping someone knowledgable is able to tell me what I'm doing wrong. Server config is all fine, can paste and retrieve via browser. Using python 3.9.6 on Win10
import privatebinapi
response = privatebinapi.get("https://paste.facade.cf/?8c6aa7ff474b3136#9TsK19cm4mdxq6JTCnDzUiMyxEYQkGEYwrsJu8MJMPpy")
print(response)
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-