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
tags: ${{ steps.meta.outputs.tags }}
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
node_modules
package-lock.json
# secrets
.env
# page build
min
build
# stuff i already made but delayed
future
# docker
docker-compose.yml
@ -24,3 +16,6 @@ docker-compose.yml
# cookie file
cookies.json
# page build
build

View File

@ -3,9 +3,10 @@ WORKDIR /app
COPY package*.json ./
RUN apt-get update && \
apt-get install -y git python3 build-essential && \
npm install && \
RUN apt-get update && \
apt-get install -y git python3 build-essential && \
npm ci && \
npm cache clean --force && \
apt purge --autoremove -y python3 build-essential && \
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
the "copyright" line and a pointer to where the full notice is found.
cobalt is possibly the nicest social media downloader out there.
Copyright (C) 2022 wukko
save what you love with cobalt.
Copyright (C) 2024 imput
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

1139
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

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