forked from DebaucheryLibrarian/traxxx
Set Kink rate limits, added method parameter for arbitrary requests.
This commit is contained in:
18
src/tools/kink.js
Normal file
18
src/tools/kink.js
Normal file
@@ -0,0 +1,18 @@
|
||||
'use strict';
|
||||
|
||||
const bhttp = require('bhttp');
|
||||
|
||||
async function init() {
|
||||
const res = await bhttp.head('https://www.kink.com/consent', {
|
||||
headers: {
|
||||
Host: 'www.kink.com',
|
||||
'User-Agent': 'HTTPie/2.6.0',
|
||||
Accept: '*/*',
|
||||
Connection: 'keep-alive',
|
||||
},
|
||||
});
|
||||
|
||||
console.log(res.body.toString(), res.headers, res.statusCode);
|
||||
}
|
||||
|
||||
init();
|
||||
Reference in New Issue
Block a user