Google Drive 超大文件下载到服务器

参考方法:google drive超大文件下载

首先先从浏览器下到本地,再传到服务器上,慢死。

解决方案是

  1. 传输路径:google --> 可控制的服务器 --> 目标服务器

1.5 使用Vultr租用韩国的服务器

  1. 从Google上下载,采用从浏览器上获取下载链接
  1. 使用aria2c下载到海外服务器上 ,下载完后,开启nginx
bash 复制代码
aria2c -x 16 -s 16 -c \
  --header "User-Agent: Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Mobile Safari/537.36 Edg/141.0.0.0" \
  --header "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7" \
  --header "Cookie: " \
  --header "Cache-Control: no-cache" \
  --header "Pragma: no-cache" \
  --header "Sec-Ch-Ua: \"Microsoft Edge\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"" \
  --header "Sec-Ch-Ua-Mobile: ?1" \
  --header "Sec-Ch-Ua-Platform: \"Android\"" \
  --header "Sec-Fetch-Dest: iframe" \
  --header "Sec-Fetch-Mode: navigate" \
  --header "Sec-Fetch-Site: same-site" \
  --header "Upgrade-Insecure-Requests: 1" \
  -o 0.zip \
  "https://drive.usercontent.google.com/download?id=1duFNdj2q8I7P5j6Veriuv3cwwl3MDBlo&export=download&authuser=0&confirm=t&uuid=59342246-bc82-481c-bbb5-c5e82e58234f&at=AKSUxGM9XL2xusoaJ1L0uN6_twyI:2sfasf

最快有500MB/s的下载速度

  1. 在本地服务器,使用如下命令下载 /usr/bin/aria2c -x 16 -s 16 -c -o 0.zip "http://xxxip地址/0.zip"

有20MB/s的下载速度

相关推荐
蚰蜒螟19 分钟前
从内核源码看Linux启动:chroot、execve与MS_MOVE的协奏曲
linux·服务器·网络
来者皆善1 小时前
ZYNQ linux上使用 USB CDC ACM
linux·运维·服务器
缓慢更新2 小时前
企业档案管理系统迁移实录:从文件服务器到智能检索引擎
运维·服务器
Dawn-bit3 小时前
Linux磁盘分区与Swap和磁盘故障查询
linux·运维·服务器·网络·云计算
梦想三三3 小时前
LangChain Output Parser 实战:从字符串到结构化数据的完整指南
android·服务器·langchain·github·uv
netho04 小时前
影刀rpa证书题库使用教学
运维·服务器·rpa
llilian_164 小时前
便携式相位测量模块应用方案的核心优势
网络·功能测试·单片机
无足鸟ICT4 小时前
【RHCA+】$[]
linux·运维·服务器
运维技术小记5 小时前
国产化环境配置 VNC 远程桌面:麒麟 V10 实战
linux·运维·服务器
QH139292318805 小时前
# R&S ZNB43 ZNA43 ZNA67矢量网络分析仪
开发语言·网络·php