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的下载速度

相关推荐
sunfove1 天前
光网络的立交桥:光开关 (Optical Switch) 原理与主流技术解析
网络
cuijiecheng20181 天前
Linux下Beyond Compare过期
linux·运维·服务器
期待のcode1 天前
前后端分离项目 Springboot+vue 在云服务器上的部署
服务器·vue.js·spring boot
AI 智能服务1 天前
第6课__本地工具调用(文件操作)
服务器·人工智能·windows·php
Kevin Wang7271 天前
欧拉系统服务部署注意事项
网络·windows
min1811234561 天前
深度伪造内容的检测与溯源技术
大数据·网络·人工智能
汤愈韬1 天前
Full Cone Nat
网络·网络协议·网络安全·security·huawei
zbtlink1 天前
现在还需要带电池的路由器吗?是用来干嘛的?
网络·智能路由器
桌面运维家1 天前
vDisk配置漂移怎么办?VOI/IDV架构故障快速修复
网络·架构
dalerkd1 天前
忙里偷闲叙-谈谈最近两年
网络·安全·web安全