Is it possible to have gallery-dl skip to the next page when a site (Danbooru) responds with a 500 internal error response? #8936
-
|
Good Evening, I'm currently trying to download a set of pictures from danbooru and I'm getting a 500 internal error when it hits a certain page on that query. Site: https://danbooru.donmai.us/posts.json?tags=girls_und_panzer&limit=200&page=b1303910 When I load the site on firefox, I get a "The database timed out running your query." Every page before it has worked properly and the error has continued for over a week. I have updated to the latest gallery-dl 1.31.3 . I also tried including my cookies and user agent and both didn't change anything. I looked online and saw that it was might be possible to skip it using gallery-dl's actions: Using this example: #7199 I wrote under the danbooru heading in the config file: Unfortunately my addition doesn't seem to effect anything. I'm sorry if this is a stupid question as I've tried for a week to figure this out before asking. Thank you for all the help. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Try the following. It will stop and move on to the next URL on the first {
"extractor": {
"danbooru": {
"actions": {
"debug:'500.+' for '": "abort",
"error:'500.+' for '": "abort"
}
}
}
} |
Beta Was this translation helpful? Give feedback.
Try the following. It will stop and move on to the next URL on the first
500response.Alternatively, reduce the number of
retriesand/or thetimeoutlength.{ "extractor": { "danbooru": { "actions": { "debug:'500.+' for '": "abort", "error:'500.+' for '": "abort" } } } }