Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
yea
  • Loading branch information
Sticks committed Sep 17, 2024
1 parent cd06223 commit 0fb8774
Show file tree
Hide file tree
Showing 45 changed files with 798 additions and 1,245 deletions.
260 changes: 141 additions & 119 deletions api/src/processing/services/youtube.js

Large diffs are not rendered by default.

16 changes: 16 additions & 0 deletions config.json
@@ -0,0 +1,16 @@
{
"apps": [
{
"name": "downloader-api",
"cwd": "api",
"script": "node",
"args": "src/thvideodl.js",
"env": {
"API_URL": "https://dl.hep.gg/",
"API_PORT": 9000,
"API_NAME": "Team Hydra Downloader",
"COOKIE_PATH": "cookies.json"
}
}
]
}
158 changes: 158 additions & 0 deletions pnpm-lock.yaml
Expand Up @@ -119,6 +119,9 @@ importers:
'@fontsource/redaction-10':
specifier: ^5.0.2
version: 5.0.2
'@sveltejs/adapter-node':
specifier: ^5.2.2
version: 5.2.2(@sveltejs/kit@2.5.19(@sveltejs/vite-plugin-svelte@3.1.1(svelte@4.2.18)(vite@5.3.5(@types/node@20.14.14)))(svelte@4.2.18)(vite@5.3.5(@types/node@20.14.14)))
'@sveltejs/adapter-static':
specifier: ^3.0.2
version: 3.0.2(@sveltejs/kit@2.5.19(@sveltejs/vite-plugin-svelte@3.1.1(svelte@4.2.18)(vite@5.3.5(@types/node@20.14.14)))(svelte@4.2.18)(vite@5.3.5(@types/node@20.14.14)))
Expand Down Expand Up @@ -564,6 +567,42 @@ packages:
'@polka/url@1.0.0-next.25':
resolution: {integrity: sha512-j7P6Rgr3mmtdkeDGTe0E/aYyWEWVtc5yFXtHCRHs28/jptDEWfaVOc5T7cblqy1XKPPfCxJc/8DwQ5YgLOZOVQ==}

'@rollup/plugin-commonjs@26.0.1':
resolution: {integrity: sha512-UnsKoZK6/aGIH6AdkptXhNvhaqftcjq3zZdT+LY5Ftms6JR06nADcDsYp5hTU9E2lbJUEOhdlY5J4DNTneM+jQ==}
engines: {node: '>=16.0.0 || 14 >= 14.17'}
peerDependencies:
rollup: ^2.68.0||^3.0.0||^4.0.0
peerDependenciesMeta:
rollup:
optional: true

'@rollup/plugin-json@6.1.0':
resolution: {integrity: sha512-EGI2te5ENk1coGeADSIwZ7G2Q8CJS2sF120T7jLw4xFw9n7wIOXHo+kIYRAoVpJAN+kmqZSoO3Fp4JtoNF4ReA==}
engines: {node: '>=14.0.0'}
peerDependencies:
rollup: ^1.20.0||^2.0.0||^3.0.0||^4.0.0
peerDependenciesMeta:
rollup:
optional: true

'@rollup/plugin-node-resolve@15.2.3':
resolution: {integrity: sha512-j/lym8nf5E21LwBT4Df1VD6hRO2L2iwUeUmP7litikRsVp1H6NWx20NEp0Y7su+7XGc476GnXXc4kFeZNGmaSQ==}
engines: {node: '>=14.0.0'}
peerDependencies:
rollup: ^2.78.0||^3.0.0||^4.0.0
peerDependenciesMeta:
rollup:
optional: true

'@rollup/pluginutils@5.1.0':
resolution: {integrity: sha512-XTIWOPPcpvyKI6L1NHo0lFlCyznUEyPmPY1mc3KpPVDYulHSTvyeLNVW00QTLIAFNhR3kYnJTQHeGqU4M3n09g==}
engines: {node: '>=14.0.0'}
peerDependencies:
rollup: ^1.20.0||^2.0.0||^3.0.0||^4.0.0
peerDependenciesMeta:
rollup:
optional: true

'@rollup/rollup-android-arm-eabi@4.19.2':
resolution: {integrity: sha512-OHflWINKtoCFSpm/WmuQaWW4jeX+3Qt3XQDepkkiFTsoxFc5BpF3Z5aDxFZgBqRjO6ATP5+b1iilp4kGIZVWlA==}
cpu: [arm]
Expand Down Expand Up @@ -644,6 +683,11 @@ packages:
cpu: [x64]
os: [win32]

'@sveltejs/adapter-node@5.2.2':
resolution: {integrity: sha512-BCX4zP0cf86TXpmvLQTnnT/tp7P12UMezf+5LwljP1MJC1fFzn9XOXpAHQCyP+pyHGy2K7p5gY0LyLcZFAL02w==}
peerDependencies:
'@sveltejs/kit': ^2.4.0

'@sveltejs/adapter-static@3.0.2':
resolution: {integrity: sha512-/EBFydZDwfwFfFEuF1vzUseBoRziwKP7AoHAwv+Ot3M084sE/HTVBHf9mCmXfdM9ijprY5YEugZjleflncX5fQ==}
peerDependencies:
Expand Down Expand Up @@ -716,6 +760,9 @@ packages:
'@types/pug@2.0.10':
resolution: {integrity: sha512-Sk/uYFOBAB7mb74XcpizmH0KOR2Pv3D2Hmrh1Dmy5BmK3MpdSa5kqZcg6EKBdklU0bFXX9gCfzvpnyUehrPIuA==}

'@types/resolve@1.20.2':
resolution: {integrity: sha512-60BCwRFOZCQhDncwQdxxeOEEkbc5dIMccYLwbxsS4TUNeVECQ/pBJ0j09mrHOl/JJvpRPGwO9SvE4nR2Nb/a4Q==}

'@types/unist@2.0.10':
resolution: {integrity: sha512-IfYcSBWE3hLpBg8+X2SEa8LVkJdJEkT2Ese2aaLs3ptGdVtABxndrMaxuFlQ1qdFf9Q5rDvDpxI3WwgvKFAsQA==}

Expand Down Expand Up @@ -875,6 +922,10 @@ packages:
buffer-from@1.1.2:
resolution: {integrity: sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==}

builtin-modules@3.3.0:
resolution: {integrity: sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw==}
engines: {node: '>=6'}

bundle-require@5.0.0:
resolution: {integrity: sha512-GuziW3fSSmopcx4KRymQEJVbZUfqlCqcq7dvs6TYwKRZiegK/2buMxQTPs6MGlNv50wms1699qYO54R8XfRX4w==}
engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}
Expand Down Expand Up @@ -926,6 +977,9 @@ packages:
resolution: {integrity: sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==}
engines: {node: '>= 6'}

commondir@1.0.1:
resolution: {integrity: sha512-W9pAhw0ja1Edb5GVdIF1mjZw/ASI0AlShXM83UUGe2DVr5TdAPEA1OA8m/g8zWp9x6On7gqufY+FatDbC3MDQg==}

compare-versions@6.1.1:
resolution: {integrity: sha512-4hm4VPpIecmlg59CHXnRDnqGplJFrbLG4aFEl5vl6cK1u76ws3LLvX7ikFnTDl5vo39sjWD6AaDPYodJp/NNHg==}

Expand Down Expand Up @@ -1234,6 +1288,9 @@ packages:
resolution: {integrity: sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==}
engines: {node: '>=4.0'}

estree-walker@2.0.2:
resolution: {integrity: sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==}

estree-walker@3.0.3:
resolution: {integrity: sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==}

Expand Down Expand Up @@ -1450,6 +1507,14 @@ packages:
resolution: {integrity: sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==}
engines: {node: '>=8'}

is-builtin-module@3.2.1:
resolution: {integrity: sha512-BSLE3HnV2syZ0FK0iMA/yUGplUeMmNz4AW5fnTunbCIqZi4vG3WjJT9FHMy5D69xmAYBHXQhJdALdpwVxV501A==}
engines: {node: '>=6'}

is-core-module@2.15.1:
resolution: {integrity: sha512-z0vtXSwucUJtANQWldhbtbt7BnL0vxiFjIdDLAatwhDYty2bad6s+rijD6Ri4YuYJubLzIJLUidCh09e1djEVQ==}
engines: {node: '>= 0.4'}

is-extglob@2.1.1:
resolution: {integrity: sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==}
engines: {node: '>=0.10.0'}
Expand All @@ -1462,6 +1527,9 @@ packages:
resolution: {integrity: sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==}
engines: {node: '>=0.10.0'}

is-module@1.0.0:
resolution: {integrity: sha512-51ypPSPCoTEIN9dy5Oy+h4pShgJmPCygKfyRCISBI+JoWT/2oJvK8QPxmwv7b/p239jXrm9M1mlQbyKJ5A152g==}

is-number@7.0.0:
resolution: {integrity: sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==}
engines: {node: '>=0.12.0'}
Expand All @@ -1470,6 +1538,9 @@ packages:
resolution: {integrity: sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==}
engines: {node: '>=8'}

is-reference@1.2.1:
resolution: {integrity: sha512-U82MsXXiFIrjCK4otLT+o2NA2Cd2g5MLoOVXUZjIOhLurrRxpEXzI8O0KZHr3IjLvlAH1kTPYSuqer5T9ZVBKQ==}

is-reference@3.0.2:
resolution: {integrity: sha512-v3rht/LgVcsdZa3O2Nqs+NMowLOxeOm7Ay9+/ARQ2F+qEoANRcqrjAZKGN0v8ymUetZGgkp26LTnGT7H0Qo9Pg==}

Expand Down Expand Up @@ -1724,6 +1795,9 @@ packages:
resolution: {integrity: sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==}
engines: {node: '>=8'}

path-parse@1.0.7:
resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==}

path-scurry@1.11.1:
resolution: {integrity: sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==}
engines: {node: '>=16 || 14 >=14.18'}
Expand Down Expand Up @@ -1833,6 +1907,10 @@ packages:
resolution: {integrity: sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==}
engines: {node: '>=8'}

resolve@1.22.8:
resolution: {integrity: sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==}
hasBin: true

reusify@1.0.4:
resolution: {integrity: sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==}
engines: {iojs: '>=1.0.0', node: '>=0.10.0'}
Expand Down Expand Up @@ -1974,6 +2052,10 @@ packages:
resolution: {integrity: sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==}
engines: {node: '>=8'}

supports-preserve-symlinks-flag@1.0.0:
resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==}
engines: {node: '>= 0.4'}

svelte-check@3.8.5:
resolution: {integrity: sha512-3OGGgr9+bJ/+1nbPgsvulkLC48xBsqsgtc8Wam281H4G9F5v3mYGa2bHRsPuwHC5brKl4AxJH95QF73kmfihGQ==}
hasBin: true
Expand Down Expand Up @@ -2527,6 +2609,42 @@ snapshots:

'@polka/url@1.0.0-next.25': {}

'@rollup/plugin-commonjs@26.0.1(rollup@4.19.2)':
dependencies:
'@rollup/pluginutils': 5.1.0(rollup@4.19.2)
commondir: 1.0.1
estree-walker: 2.0.2
glob: 10.4.5
is-reference: 1.2.1
magic-string: 0.30.11
optionalDependencies:
rollup: 4.19.2

'@rollup/plugin-json@6.1.0(rollup@4.19.2)':
dependencies:
'@rollup/pluginutils': 5.1.0(rollup@4.19.2)
optionalDependencies:
rollup: 4.19.2

'@rollup/plugin-node-resolve@15.2.3(rollup@4.19.2)':
dependencies:
'@rollup/pluginutils': 5.1.0(rollup@4.19.2)
'@types/resolve': 1.20.2
deepmerge: 4.3.1
is-builtin-module: 3.2.1
is-module: 1.0.0
resolve: 1.22.8
optionalDependencies:
rollup: 4.19.2

'@rollup/pluginutils@5.1.0(rollup@4.19.2)':
dependencies:
'@types/estree': 1.0.5
estree-walker: 2.0.2
picomatch: 2.3.1
optionalDependencies:
rollup: 4.19.2

'@rollup/rollup-android-arm-eabi@4.19.2':
optional: true

Expand Down Expand Up @@ -2575,6 +2693,14 @@ snapshots:
'@rollup/rollup-win32-x64-msvc@4.19.2':
optional: true

'@sveltejs/adapter-node@5.2.2(@sveltejs/kit@2.5.19(@sveltejs/vite-plugin-svelte@3.1.1(svelte@4.2.18)(vite@5.3.5(@types/node@20.14.14)))(svelte@4.2.18)(vite@5.3.5(@types/node@20.14.14)))':
dependencies:
'@rollup/plugin-commonjs': 26.0.1(rollup@4.19.2)
'@rollup/plugin-json': 6.1.0(rollup@4.19.2)
'@rollup/plugin-node-resolve': 15.2.3(rollup@4.19.2)
'@sveltejs/kit': 2.5.19(@sveltejs/vite-plugin-svelte@3.1.1(svelte@4.2.18)(vite@5.3.5(@types/node@20.14.14)))(svelte@4.2.18)(vite@5.3.5(@types/node@20.14.14))
rollup: 4.19.2

'@sveltejs/adapter-static@3.0.2(@sveltejs/kit@2.5.19(@sveltejs/vite-plugin-svelte@3.1.1(svelte@4.2.18)(vite@5.3.5(@types/node@20.14.14)))(svelte@4.2.18)(vite@5.3.5(@types/node@20.14.14)))':
dependencies:
'@sveltejs/kit': 2.5.19(@sveltejs/vite-plugin-svelte@3.1.1(svelte@4.2.18)(vite@5.3.5(@types/node@20.14.14)))(svelte@4.2.18)(vite@5.3.5(@types/node@20.14.14))
Expand Down Expand Up @@ -2660,6 +2786,8 @@ snapshots:

'@types/pug@2.0.10': {}

'@types/resolve@1.20.2': {}

'@types/unist@2.0.10': {}

'@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint@8.57.0)(typescript@5.5.4)':
Expand Down Expand Up @@ -2840,6 +2968,8 @@ snapshots:

buffer-from@1.1.2: {}

builtin-modules@3.3.0: {}

bundle-require@5.0.0(esbuild@0.23.0):
dependencies:
esbuild: 0.23.0
Expand Down Expand Up @@ -2896,6 +3026,8 @@ snapshots:

commander@4.1.1: {}

commondir@1.0.1: {}

compare-versions@6.1.1: {}

concat-map@0.0.1: {}
Expand Down Expand Up @@ -3204,6 +3336,8 @@ snapshots:

estraverse@5.3.0: {}

estree-walker@2.0.2: {}

estree-walker@3.0.3:
dependencies:
'@types/estree': 1.0.5
Expand Down Expand Up @@ -3475,6 +3609,14 @@ snapshots:
dependencies:
binary-extensions: 2.3.0

is-builtin-module@3.2.1:
dependencies:
builtin-modules: 3.3.0

is-core-module@2.15.1:
dependencies:
hasown: 2.0.2

is-extglob@2.1.1: {}

is-fullwidth-code-point@3.0.0: {}
Expand All @@ -3483,10 +3625,16 @@ snapshots:
dependencies:
is-extglob: 2.1.1

is-module@1.0.0: {}

is-number@7.0.0: {}

is-path-inside@3.0.3: {}

is-reference@1.2.1:
dependencies:
'@types/estree': 1.0.5

is-reference@3.0.2:
dependencies:
'@types/estree': 1.0.5
Expand Down Expand Up @@ -3688,6 +3836,8 @@ snapshots:

path-key@3.1.1: {}

path-parse@1.0.7: {}

path-scurry@1.11.1:
dependencies:
lru-cache: 10.4.3
Expand Down Expand Up @@ -3769,6 +3919,12 @@ snapshots:

resolve-from@5.0.0: {}

resolve@1.22.8:
dependencies:
is-core-module: 2.15.1
path-parse: 1.0.7
supports-preserve-symlinks-flag: 1.0.0

reusify@1.0.4: {}

rimraf@2.7.1:
Expand Down Expand Up @@ -3948,6 +4104,8 @@ snapshots:
dependencies:
has-flag: 4.0.0

supports-preserve-symlinks-flag@1.0.0: {}

svelte-check@3.8.5(postcss@8.4.40)(svelte@4.2.18):
dependencies:
'@jridgewell/trace-mapping': 0.3.25
Expand Down
6 changes: 6 additions & 0 deletions web/changelogs/1.0.md
@@ -0,0 +1,6 @@
---
title: 'Team Hydra Video Downloader 1.0'
date: 'September 16th, 2024'
---

This is the first release of the Team Hydra Video Downloader.
1 change: 1 addition & 0 deletions web/package.json
Expand Up @@ -22,6 +22,7 @@
"devDependencies": {
"@eslint/js": "^9.5.0",
"@fontsource/redaction-10": "^5.0.2",
"@sveltejs/adapter-node": "^5.2.2",
"@sveltejs/adapter-static": "^3.0.2",
"@sveltejs/kit": "^2.0.0",
"@sveltejs/vite-plugin-svelte": "^3.0.0",
Expand Down

0 comments on commit 0fb8774

Please sign in to comment.