Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't working #18

Closed
AJkePo opened this issue Jan 20, 2022 · 2 comments
Closed

Don't working #18

AJkePo opened this issue Jan 20, 2022 · 2 comments

Comments

@AJkePo
Copy link

AJkePo commented Jan 20, 2022

Traceback (most recent call last):
File "d:\Users****\Desktop*\OpenSea-NFT-Stealer\opensea.py", line 71, in
data = json.loads(requests.get(f"https://api.opensea.io/api/v1/assets?order_direction=asc&offset={offset}&limit=50&collection={CollectionName}&format=json", headers=headers).content.decode())
File "C:\Program Files\Python310\lib\json_init_.py", line 346, in loads
return _default_decoder.decode(s)
File "C:\Program Files\Python310\lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Program Files\Python310\lib\json\decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

????

i have add "Accept": "application/json"

@Freezen2
Copy link

my script was working yesterday and now it doesn't work got the same error ^

@sj-dan
Copy link
Owner

sj-dan commented Jan 21, 2022

@AJkePo A few questions. First of all, what collection are you trying to download?

@sj-dan sj-dan closed this as completed in 6fc7e4d Feb 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants