Discord-Scraper icon indicating copy to clipboard operation
Discord-Scraper copied to clipboard

HTTP 403 AND 404 ERROR.

Open 1599137080 opened this issue 5 years ago • 1 comments

LIKT tittle.i am sure that use correct token and run on the server.and last question that how to use these messages to post from a discord webhook

1599137080 avatar Nov 21 '19 07:11 1599137080

The 404 error could be produced by having the wrong server ID or DM ID in the config.json file.

"directs": {
    "anything you want here": "DM message ID"
},
"servers": {
    "server id": [
        "channel id"
    ]
}

The 403 error might be caused by the embedded content. Right now I'm in the process of figuring out why the script no longer grabs all of the images and which headers to send to the embedded content in order to prevent these 403 errors from popping up.

The script only makes "get" requests since I haven't added any "post" request support in the SimpleRequests module. So it shouldn't be posting anything since the script is made for the purpose of archival.

Dracovian avatar Nov 21 '19 18:11 Dracovian