Compare commits
2 Commits
8439631e2d
...
0d8c92aac9
Author | SHA1 | Date |
---|---|---|
|
0d8c92aac9 | |
|
b9556c9c86 |
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "traxxx",
|
"name": "traxxx",
|
||||||
"version": "1.215.1",
|
"version": "1.215.2",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "traxxx",
|
"name": "traxxx",
|
||||||
"version": "1.215.1",
|
"version": "1.215.2",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@casl/ability": "^5.2.2",
|
"@casl/ability": "^5.2.2",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "traxxx",
|
"name": "traxxx",
|
||||||
"version": "1.215.1",
|
"version": "1.215.2",
|
||||||
"description": "All the latest porn releases in one place",
|
"description": "All the latest porn releases in one place",
|
||||||
"main": "src/app.js",
|
"main": "src/app.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
|
@ -366,6 +366,10 @@ const networks = [
|
||||||
name: 'Kink',
|
name: 'Kink',
|
||||||
url: 'https://www.kink.com',
|
url: 'https://www.kink.com',
|
||||||
description: 'Authentic Bondage & Real BDSM Porn Videos. Demystifying and celebrating alternative sexuality by providing the most authentic kinky videos. Experience the other side of porn.',
|
description: 'Authentic Bondage & Real BDSM Porn Videos. Demystifying and celebrating alternative sexuality by providing the most authentic kinky videos. Experience the other side of porn.',
|
||||||
|
parameters: {
|
||||||
|
interval: 1000,
|
||||||
|
concurrency: 1,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
slug: 'letsdoeit',
|
slug: 'letsdoeit',
|
||||||
|
|
|
@ -4721,7 +4721,7 @@ const sites = [
|
||||||
slug: 'boundgangbangs',
|
slug: 'boundgangbangs',
|
||||||
name: 'Bound Gangbangs',
|
name: 'Bound Gangbangs',
|
||||||
alias: ['bgb', 'bgbs'],
|
alias: ['bgb', 'bgbs'],
|
||||||
url: 'https://www.kink.com/channel/bound-gangbangs',
|
url: 'https://www.kink.com/channel/bound-gang-bangs',
|
||||||
description: 'Powerless whores tied in bondage and stuffed with a cock in every hole. At BoundGangbangs women get surprise extreme gangbangs, blindfolds, deepthroat blowjobs, sex punishment, bondage, double penetration and interracial sex.',
|
description: 'Powerless whores tied in bondage and stuffed with a cock in every hole. At BoundGangbangs women get surprise extreme gangbangs, blindfolds, deepthroat blowjobs, sex punishment, bondage, double penetration and interracial sex.',
|
||||||
parent: 'kink',
|
parent: 'kink',
|
||||||
},
|
},
|
||||||
|
|
|
@ -152,7 +152,7 @@ async function init() {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (argv.request) {
|
if (argv.request) {
|
||||||
const res = await http.get(argv.request);
|
const res = await http[argv.requestMethod](argv.request);
|
||||||
|
|
||||||
console.log(res.status, res.body);
|
console.log(res.status, res.body);
|
||||||
}
|
}
|
||||||
|
|
10
src/argv.js
10
src/argv.js
|
@ -323,6 +323,16 @@ const { argv } = yargs
|
||||||
type: 'array',
|
type: 'array',
|
||||||
alias: ['delete-movie', 'remove-movies', 'remove-movies'],
|
alias: ['delete-movie', 'remove-movies', 'remove-movies'],
|
||||||
})
|
})
|
||||||
|
.option('request', {
|
||||||
|
describe: 'Make an arbitrary HTTP request',
|
||||||
|
type: 'string',
|
||||||
|
})
|
||||||
|
.option('request-method', {
|
||||||
|
alias: 'method',
|
||||||
|
describe: 'HTTP method for arbitrary HTTP requests',
|
||||||
|
type: 'string',
|
||||||
|
default: 'get',
|
||||||
|
})
|
||||||
.option('request-timeout', {
|
.option('request-timeout', {
|
||||||
describe: 'Default timeout after which to cancel a HTTP request.',
|
describe: 'Default timeout after which to cancel a HTTP request.',
|
||||||
type: 'number',
|
type: 'number',
|
||||||
|
|
|
@ -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();
|
|
@ -0,0 +1,17 @@
|
||||||
|
'use strict';
|
||||||
|
|
||||||
|
const express = require('express');
|
||||||
|
|
||||||
|
const app = express();
|
||||||
|
|
||||||
|
app.get('/', (req, res) => {
|
||||||
|
console.log(req.httpVersion);
|
||||||
|
console.log(req.headers);
|
||||||
|
console.log(req.body);
|
||||||
|
|
||||||
|
res.status(204).send();
|
||||||
|
});
|
||||||
|
|
||||||
|
app.listen(5555, () => {
|
||||||
|
console.log('Server started');
|
||||||
|
});
|
Loading…
Reference in New Issue