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

[BUG] Erros, can't even start #50

Open
therawest opened this issue May 23, 2022 · 4 comments
Open

[BUG] Erros, can't even start #50

therawest opened this issue May 23, 2022 · 4 comments

Comments

@therawest
Copy link

Describe the bug
I followed the process for installation, installed requirements, run script and it can't even start
showing errors
https://prnt.sc/6SF4830dRA54

**Terminal output
C:\Users\logde\OneDrive\Desktop\OpenSea-NFT-Stealer-master>py opensea.py lazy-lions

Beginning download of "lazy-lions" collection.

Traceback (most recent call last):
File "C:\Users\logde\OneDrive\Desktop\OpenSea-NFT-Stealer-master\opensea.py", line 124, in
data = json.loads(scraper.get(f"https://api.opensea.io/api/v1/assets?order_direction=asc{token_ids}&limit=50"
File "C:\Users\logde\AppData\Local\Programs\Python\Python310\lib\json_init_.py", line 346, in loads
return _default_decoder.decode(s)
File "C:\Users\logde\AppData\Local\Programs\Python\Python310\lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Users\logde\AppData\Local\Programs\Python\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)

C:\Users\logde\OneDrive\Desktop\OpenSea-NFT-Stealer-master>**

paste here
@raskitoma
Copy link

Same error, I tried to change browser User-Agent data with no luck. Also I tried to check the url (printing the result of the dict) and it works. Maybe is a thing related to changes on the API on opensea side

@G-Z-Ming
Copy link

image

This interface now requires an API Key

@raskitoma
Copy link

@G-Z-Ming thanks for the advice. I'm going to open a dev account and try to fix the code and share here if I can do it too...

@webcoderz
Copy link

fixed #53

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

4 participants