Refactored Bang! scraper to match new website, first use of unprint.
This commit is contained in:
@@ -237,6 +237,10 @@ async function destroyBypassSession(sessionId) {
|
||||
}
|
||||
|
||||
async function destroyBypassSessions() {
|
||||
if (!config.bypass.cloudflare.enabled) {
|
||||
return;
|
||||
}
|
||||
|
||||
const sessionListRes = await limiters.bypass.schedule(async () => bhttp.post(config.bypass.cloudflare.path, {
|
||||
cmd: 'sessions.list',
|
||||
}, {
|
||||
|
||||
Reference in New Issue
Block a user