Merge branch 'imputnet:current' into support/niconico

This commit is contained in:
Mikhail Serebryakov 2024-05-22 23:33:40 +05:00 committed by GitHub
commit 05b48f15a9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 1152 additions and 15 deletions

View File

@ -55,3 +55,5 @@ jobs:
push: true push: true
tags: ${{ steps.meta.outputs.tags }} tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }} labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max

11
.gitignore vendored
View File

@ -4,18 +4,10 @@ desktop.ini
# npm # npm
node_modules node_modules
package-lock.json
# secrets # secrets
.env .env
# page build
min
build
# stuff i already made but delayed
future
# docker # docker
docker-compose.yml docker-compose.yml
@ -24,3 +16,6 @@ docker-compose.yml
# cookie file # cookie file
cookies.json cookies.json
# page build
build

View File

@ -5,7 +5,8 @@ COPY package*.json ./
RUN apt-get update && \ RUN apt-get update && \
apt-get install -y git python3 build-essential && \ apt-get install -y git python3 build-essential && \
npm install && \ npm ci && \
npm cache clean --force && \
apt purge --autoremove -y python3 build-essential && \ apt purge --autoremove -y python3 build-essential && \
rm -rf ~/.cache/ /var/lib/apt/lists/* rm -rf ~/.cache/ /var/lib/apt/lists/*

View File

@ -629,8 +629,8 @@ to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found. the "copyright" line and a pointer to where the full notice is found.
cobalt is possibly the nicest social media downloader out there. save what you love with cobalt.
Copyright (C) 2022 wukko Copyright (C) 2024 imput
This program is free software: you can redistribute it and/or modify This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by it under the terms of the GNU Affero General Public License as published by

1139
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -55,8 +55,8 @@
}, },
"tiktok": { "tiktok": {
"alias": "tiktok videos, photos & audio", "alias": "tiktok videos, photos & audio",
"patterns": [":user/video/:postId", ":id", "t/:id", ":user/photo/:postId"], "patterns": [":user/video/:postId", ":id", "t/:id", ":user/photo/:postId", "v/:id.html"],
"subdomains": ["vt", "vm"], "subdomains": ["vt", "vm", "m"],
"enabled": true "enabled": true
}, },
"vimeo": { "vimeo": {