pyscp icon indicating copy to clipboard operation
pyscp copied to clipboard

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

Open MrBruz opened this issue 3 years ago • 6 comments

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

MrBruz avatar Aug 20 '20 22:08 MrBruz

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

resure avatar Aug 21 '20 21:08 resure

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)

MrBruz avatar Aug 21 '20 22:08 MrBruz

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.')

MrNereof avatar Sep 10 '20 14:09 MrNereof

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

MrBruz avatar Sep 10 '20 22:09 MrBruz

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

MrNereof avatar Sep 11 '20 06:09 MrNereof

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

MrBruz avatar Sep 11 '20 23:09 MrBruz