mirror of
https://git.stupid.fish/teidesu/scripts.git
synced 2025-07-27 18:22:10 +10:00
chore: update public repo
This commit is contained in:
parent
a2b73a9982
commit
2d46db9c77
4 changed files with 541 additions and 19 deletions
|
@ -2,9 +2,6 @@
|
|||
"name": "teidesu-scripts",
|
||||
"type": "module",
|
||||
"packageManager": "pnpm@9.5.0",
|
||||
"peerDependencies": {
|
||||
"typescript": "^5.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@faker-js/faker": "^9.3.0",
|
||||
"@fuman/io": "^0.0.4",
|
||||
|
@ -17,6 +14,7 @@
|
|||
"better-sqlite3": "^11.8.1",
|
||||
"canvas": "^3.1.0",
|
||||
"cheerio": "^1.0.0",
|
||||
"egoroof-blowfish": "4.0.1",
|
||||
"es-main": "^1.3.0",
|
||||
"filesize": "^10.1.6",
|
||||
"json5": "^2.2.3",
|
||||
|
@ -33,8 +31,8 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"@antfu/eslint-config": "3.10.0",
|
||||
"@fuman/fetch": "0.0.10",
|
||||
"@fuman/utils": "0.0.10",
|
||||
"@fuman/fetch": "0.1.0",
|
||||
"@fuman/utils": "0.0.14",
|
||||
"@types/node": "22.10.0",
|
||||
"domhandler": "^5.0.3",
|
||||
"dotenv": "16.4.5",
|
||||
|
|
33
pnpm-lock.yaml
generated
33
pnpm-lock.yaml
generated
|
@ -41,6 +41,9 @@ importers:
|
|||
cheerio:
|
||||
specifier: ^1.0.0
|
||||
version: 1.0.0
|
||||
egoroof-blowfish:
|
||||
specifier: 4.0.1
|
||||
version: 4.0.1
|
||||
es-main:
|
||||
specifier: ^1.3.0
|
||||
version: 1.3.0
|
||||
|
@ -74,9 +77,6 @@ importers:
|
|||
tsx:
|
||||
specifier: ^4.19.2
|
||||
version: 4.19.2
|
||||
typescript:
|
||||
specifier: ^5.0.0
|
||||
version: 5.7.2
|
||||
undici:
|
||||
specifier: ^7.2.0
|
||||
version: 7.2.0
|
||||
|
@ -88,11 +88,11 @@ importers:
|
|||
specifier: 3.10.0
|
||||
version: 3.10.0(@typescript-eslint/utils@8.16.0(eslint@9.15.0)(typescript@5.7.2))(@vue/compiler-sfc@3.5.13)(eslint@9.15.0)(typescript@5.7.2)
|
||||
'@fuman/fetch':
|
||||
specifier: 0.0.10
|
||||
version: 0.0.10(@badrap/valita@0.4.2)(tough-cookie@5.0.0)(zod@3.23.8)
|
||||
specifier: 0.1.0
|
||||
version: 0.1.0(@badrap/valita@0.4.2)(tough-cookie@5.0.0)(zod@3.23.8)
|
||||
'@fuman/utils':
|
||||
specifier: 0.0.10
|
||||
version: 0.0.10
|
||||
specifier: 0.0.14
|
||||
version: 0.0.14
|
||||
'@types/node':
|
||||
specifier: 22.10.0
|
||||
version: 22.10.0
|
||||
|
@ -406,8 +406,8 @@ packages:
|
|||
resolution: {integrity: sha512-r0tJ3ZOkMd9xsu3VRfqlFR6cz0V/jFYRswAIpC+m/DIfAUXq7g8N7wTAlhSANySXYGKzGryfDXwtwsY8TxEIDw==}
|
||||
engines: {node: '>=18.0.0', npm: '>=9.0.0'}
|
||||
|
||||
'@fuman/fetch@0.0.10':
|
||||
resolution: {integrity: sha512-Zy1GKZ8/NGP2adH0JXVaP91TZPpXngZDTGOFrb38pEp6RYAVSywt0yOPO2kwZGUpordfCj96CMNv+e6zUc7qqw==}
|
||||
'@fuman/fetch@0.1.0':
|
||||
resolution: {integrity: sha512-q3CWQJ939Kcmrp/9/dUOCRqQi2og4uweSy7QrzeIxKRsz3jYSca1q2mwTQtTnA+9AAq2WNMlcZtgOA9qVJkXJw==}
|
||||
peerDependencies:
|
||||
'@badrap/valita': '>=0.4.0'
|
||||
tough-cookie: ^5.0.0 || ^4.0.0
|
||||
|
@ -441,8 +441,8 @@ packages:
|
|||
'@fuman/node@0.0.4':
|
||||
resolution: {integrity: sha512-tgwbIceUHWuwh4RTwJRQ1sLjzuIGrWx0SeCrqYhGF+IkI/B7DY0FP2SZykWImkVDtW8IzmdZskPZqiDINRGcNg==}
|
||||
|
||||
'@fuman/utils@0.0.10':
|
||||
resolution: {integrity: sha512-KVlDx0S1Og7IWcPi93f1T45WPfCSUV6/A4dQb36zZRtb8KECl1BK2u9WkNVI+sjrjKCb3xijjY5gq4lS3PqH5g==}
|
||||
'@fuman/utils@0.0.14':
|
||||
resolution: {integrity: sha512-HmQo6DXoYBtkN12rZsMSZRTUynByioOHpMZjfrePwUwXuKBYm9F1Rm4R7tGLTNJTG1zMXBJw1Xwy/cRqwzrujw==}
|
||||
|
||||
'@fuman/utils@0.0.4':
|
||||
resolution: {integrity: sha512-YBZIlGDbM8s9G85pWFZJ9wQrDY4511XLHZ06/uxZfXBY0eSStwje8JFNmRMNF0SjRk4D3iRmPl9wirHKTkg89w==}
|
||||
|
@ -906,6 +906,9 @@ packages:
|
|||
doublearray@0.0.2:
|
||||
resolution: {integrity: sha512-aw55FtZzT6AmiamEj2kvmR6BuFqvYgKZUkfQ7teqVRNqD5UE0rw8IeW/3gieHNKQ5sPuDKlljWEn4bzv5+1bHw==}
|
||||
|
||||
egoroof-blowfish@4.0.1:
|
||||
resolution: {integrity: sha512-e2gdfyLZrDvyuHX2NkRPFxEuYCIddp+W3MucqjBw9h9nineZUWynuuqQh+R5sNT9IVopPFBHwcnBYHqTcB1Vdw==}
|
||||
|
||||
electron-to-chromium@1.5.65:
|
||||
resolution: {integrity: sha512-PWVzBjghx7/wop6n22vS2MLU8tKGd4Q91aCEGhG/TYmW6PP5OcSXcdnxTe1NNt0T66N8D6jxh4kC8UsdzOGaIw==}
|
||||
|
||||
|
@ -2357,9 +2360,9 @@ snapshots:
|
|||
|
||||
'@faker-js/faker@9.3.0': {}
|
||||
|
||||
'@fuman/fetch@0.0.10(@badrap/valita@0.4.2)(tough-cookie@5.0.0)(zod@3.23.8)':
|
||||
'@fuman/fetch@0.1.0(@badrap/valita@0.4.2)(tough-cookie@5.0.0)(zod@3.23.8)':
|
||||
dependencies:
|
||||
'@fuman/utils': 0.0.10
|
||||
'@fuman/utils': 0.0.14
|
||||
optionalDependencies:
|
||||
'@badrap/valita': 0.4.2
|
||||
tough-cookie: 5.0.0
|
||||
|
@ -2389,7 +2392,7 @@ snapshots:
|
|||
'@fuman/net': 0.0.4
|
||||
'@fuman/utils': 0.0.4
|
||||
|
||||
'@fuman/utils@0.0.10': {}
|
||||
'@fuman/utils@0.0.14': {}
|
||||
|
||||
'@fuman/utils@0.0.4': {}
|
||||
|
||||
|
@ -2920,6 +2923,8 @@ snapshots:
|
|||
|
||||
doublearray@0.0.2: {}
|
||||
|
||||
egoroof-blowfish@4.0.1: {}
|
||||
|
||||
electron-to-chromium@1.5.65: {}
|
||||
|
||||
emoji-regex@8.0.0: {}
|
||||
|
|
|
@ -9,6 +9,9 @@ if (!sessionName) {
|
|||
|
||||
const tg = createTg(sessionName)
|
||||
|
||||
await tg.prepare()
|
||||
await tg.storage.clear(true)
|
||||
|
||||
const self = await tg.start({
|
||||
qrCodeHandler(url, expires) {
|
||||
console.log(qrTerminal.generate(url, { small: true }))
|
||||
|
|
516
scripts/media/deezer-dl.ts
Normal file
516
scripts/media/deezer-dl.ts
Normal file
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue