一些更新

This commit is contained in:
Sense T
2026-05-10 02:02:43 +00:00
parent 664d254f80
commit 89e615bd92
56 changed files with 2579 additions and 50 deletions
+14
View File
@@ -0,0 +1,14 @@
#!/usr/bin/env bash
cd /data
sed -i 's|deb.debian.org|mirrors.ustc.edu.cn|g' /etc/apt/sources.list.d/debian.sources
apt update && apt install -y wget
for i in {1..20}; do
EP=$(printf "%02d" $i)
for j in {1..1000}; do
FILE=$(printf "%07d" $j)
wget --referer=https://www.bilivod.com/ -rc https://c1.rrcdnbf2.com/video/xiarilidechuntian/第${EP}集/${FILE}.ts || continue
done
done
+34
View File
@@ -0,0 +1,34 @@
apiVersion: batch/v1
kind: Job
metadata:
name: download-job
spec:
template:
spec:
containers:
- name: download
image: cr.wetofu.me/debian:sid-slim
command:
- /bin/bash
- /loader/download.sh
volumeMounts:
- name: download-volume
mountPath: /data
- name: download-sh
mountPath: /loader/download.sh
subPath: download.sh
resources:
limits:
cpu: '1'
memory: '1Gi'
volumes:
- name: download-volume
hostPath:
path: /data/xiarilidechuntian/
- name: download-sh
configMap:
name: download-sh
items:
- key: download.sh
path: download.sh
restartPolicy: OnFailure
+10
View File
@@ -0,0 +1,10 @@
# yaml-language-server: $schema=https://json.schemastore.org/kustomization.json
kind: Kustomization
apiVersion: kustomize.config.k8s.io/v1beta1
resources:
- download.yaml
configMapGenerator:
- name: download-sh
files:
- download.sh