TikTok support

This commit is contained in:
Levi 2022-09-26 18:03:47 +02:00
parent bb33055946
commit 53c7cf71fc
5 changed files with 2784 additions and 2800 deletions

View file

@ -10,13 +10,13 @@
"rules": {
"arrow-spacing": ["warn", { "before": true, "after": true }],
"brace-style": ["error", "stroustrup", { "allowSingleLine": true }],
"comma-dangle": ["error", "always-multiline"],
"comma-dangle": ["error", "only-multiline"],
"comma-spacing": "error",
"comma-style": "error",
"curly": ["error", "multi-line", "consistent"],
"dot-location": ["error", "property"],
"handle-callback-err": "off",
"indent": ["error", "tab"],
"indent": ["error", 4],
"keyword-spacing": "error",
"max-nested-callbacks": ["error", { "max": 4 }],
"max-statements-per-line": ["error", { "max": 2 }],

View file

@ -7,7 +7,7 @@ const {
port,
tweetParser,
instaParser,
tiktokParser,
tiktokParser
} = require('./config.json');
const http = require('http');
// Create a new client instance

48
package-lock.json generated
View file

@ -842,20 +842,16 @@
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz",
"integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==",
"funding": [
{
"funding": [{
"type": "github",
"url": "https://github.com/sponsors/feross"
},
{
}, {
"type": "patreon",
"url": "https://www.patreon.com/feross"
},
{
}, {
"type": "consulting",
"url": "https://feross.org/support"
}
]
}]
},
"node_modules/ignore": {
"version": "5.2.0",
@ -1213,20 +1209,16 @@
"resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz",
"integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==",
"dev": true,
"funding": [
{
"funding": [{
"type": "github",
"url": "https://github.com/sponsors/feross"
},
{
}, {
"type": "patreon",
"url": "https://www.patreon.com/feross"
},
{
}, {
"type": "consulting",
"url": "https://feross.org/support"
}
]
}]
},
"node_modules/readable-stream": {
"version": "3.6.0",
@ -1307,20 +1299,16 @@
"resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz",
"integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==",
"dev": true,
"funding": [
{
"funding": [{
"type": "github",
"url": "https://github.com/sponsors/feross"
},
{
}, {
"type": "patreon",
"url": "https://www.patreon.com/feross"
},
{
}, {
"type": "consulting",
"url": "https://feross.org/support"
}
],
}],
"dependencies": {
"queue-microtask": "^1.2.2"
}
@ -1329,20 +1317,16 @@
"version": "5.2.1",
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz",
"integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==",
"funding": [
{
"funding": [{
"type": "github",
"url": "https://github.com/sponsors/feross"
},
{
}, {
"type": "patreon",
"url": "https://www.patreon.com/feross"
},
{
}, {
"type": "consulting",
"url": "https://feross.org/support"
}
]
}]
},
"node_modules/shebang-command": {
"version": "2.0.0",