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

{'status': 'wrong_token7', 'message': 'no', 'CURRENT_TIMESTAMP': 1597962336, 'callbackIndex': None} #9

Open
MrBruz opened this issue Aug 20, 2020 · 6 comments

Comments

@MrBruz
Copy link

MrBruz commented Aug 20, 2020

Got an error when trying to do anything. Links to line 392 in .local/lib/python3.6/site-packages/pyscp/wikidot.py

Also tried changing both tokens to a token that was given to me when i loaded site normally

@resure
Copy link

resure commented Aug 21, 2020

You're probably using incorrect domain (like scp-wiki.net instead of scpwiki.com).

@MrBruz
Copy link
Author

MrBruz commented Aug 21, 2020

Actually I already noticed and fixed that problem. It gives me a different error about redirection when I first did that (because it redirected to new site)

@MrNereof
Copy link

I also get this error when I launch script.

import pyscp

wiki = pyscp.wikidot.Wiki('www.scpwiki.com')
p = wiki('scp-837')
print(f'"{p.title}" has a rating of {p.rating}, {len(p.history)} revisions, and {len(p.comments)} comments.')

@MrBruz
Copy link
Author

MrBruz commented Sep 10, 2020

https://github.com/Footsiefat/OFFLINE_SCP_WIKI try my custom code i made up :)

@MrNereof
Copy link

Thanks, but I need to connect to SCP Wiki site.

@MrBruz
Copy link
Author

MrBruz commented Sep 11, 2020

This can do that too, it scrapes the content from each page.

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