惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Simon Willison's Weblog
Simon Willison's Weblog
P
Privacy International News Feed
www.infosecurity-magazine.com
www.infosecurity-magazine.com
T
Troy Hunt's Blog
Hacker News - Newest:
Hacker News - Newest: "LLM"
Attack and Defense Labs
Attack and Defense Labs
S
Secure Thoughts
V2EX - 技术
V2EX - 技术
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
O
OpenAI News
Cloudbric
Cloudbric
Google Online Security Blog
Google Online Security Blog
Schneier on Security
Schneier on Security
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Help Net Security
Help Net Security
Cyberwarzone
Cyberwarzone
G
GRAHAM CLULEY
L
Lohrmann on Cybersecurity
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Spread Privacy
Spread Privacy
NISL@THU
NISL@THU
N
News and Events Feed by Topic
T
Tenable Blog
S
Security @ Cisco Blogs
N
News and Events Feed by Topic
The Hacker News
The Hacker News
C
CXSECURITY Database RSS Feed - CXSecurity.com
宝玉的分享
宝玉的分享
月光博客
月光博客
酷 壳 – CoolShell
酷 壳 – CoolShell
美团技术团队
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Google DeepMind News
Google DeepMind News
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
T
Tailwind CSS Blog
V
Visual Studio Blog
P
Proofpoint News Feed
Webroot Blog
Webroot Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
博客园 - 三生石上(FineUI控件)
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Jina AI
Jina AI
雷峰网
雷峰网
T
The Blog of Author Tim Ferriss
Hugging Face - Blog
Hugging Face - Blog
腾讯CDC
L
LangChain Blog
The Register - Security
The Register - Security
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - 聂微东

博客园 - 三角形

Docker镜像加速器,检测失效 & 测速 ESXi 不认SN640 SN750 等容量大的 NVME 出租司机给我上的MBA课 -- 转载(文末有18年后的续集) 飞牛影视配置独立端口号,不与飞牛公用web端口 esxi 7 定时关机 Oracle RAC 部署 (VMware共享磁盘配置方法) esxi 无法在浏览器中关闭虚拟机 使用Rocky Linux 快速部署虚拟化环境,浏览器访问,开源免费 Esxi 使用 RDM (Raw Device Mapping) 功能直接将磁盘分配给虚拟机,直通 esxi重装后,之前的卷没能自动挂载 OpenSSH 远程代码执行漏洞(CVE-2024-6387) Ubuntu22.04 和 centos7处理方法 部署SFTP服务,并限制访问目录 esxi 虚拟机 导出 & 导入 QYN2 2025年免费收徒(运维) XFS误删除文件,数据恢复 在esxi上:获取vm列表,批量给vm关机,批量给vm强制关机 esxi主机,自动创建30个vm,并自动完成vm初始化操作 自动查询12306余票,结果以txt形式放到nginx网站目录下
ubuntu自动下载电视剧《鸣龙少年》
三角形 · 2023-12-29 · via 博客园 - 三角形
 1 #!/bin/bash
 2 
 3 # 自动下载电视剧,支持按集断点下载,正在追的电视剧添加到计划任务每天定期执行一次即可
 4 
 5 # 需要安装的工具
 6 # apt-get install -y parallel wget ffmpeg
 7 
 8 mkdir -p cache mp4
 9 touch mp4/m3u8.list
10 for i in `seq $(ls mp4 | wc -l) 32 `
11 do
12         echo -e "第  $i 集"
13         rm -rf cache/*
14         curl -s https://www.unscard.com/vodplay/74876-1-$i.html \
15                 | sed 's/,/\n/g' \
16                 | grep m3u8 \
17                 | sed -e 's/"url":"//' -e 's@\\@@g' -e 's@index.m3u8"@1000k_0X720_64k_25/hls/index.m3u8@' \
18                 | head -1 \
19                 | while read URL
20                 do
21                         printf "%03d\t%s\n" $i $URL >> mp4/m3u8.list
22                         curl -s $URL | grep '^http.*ts$' > cache/file.list
23                         parallel -j 100 -a cache/file.list wget --timeout=30 --tries=3 -nv -P cache
24                         for j in `ls cache`
25                         do
26                                 cat cache/$j >> cache/input.ts
27                         done
28                         ffmpeg -n -loglevel quiet -i cache/input.ts -vcodec copy -acodec copy -absf aac_adtstoasc mp4/$(printf %03d $i).mp4
29                 done
30 done

posted @ 2023-12-29 00:08  三角形  阅读(351)  评论()    收藏  举报