Trang chủ » Cách Lấy Link Download File Trực Tiếp Từ Google Drive
KH&CN

Cách Lấy Link Download File Trực Tiếp Từ Google Drive

gdrive-sohoakhoahoc.com
GDRIVE - Thương hiệu Google (Nguồn: Google)
Để get được link download thì ta có thể lấy id file cần download và dán vào link này : https://drive.google.com/uc?export=download&id=
gdrive-sohoakhoahoc.com
GDRIVE – Thương hiệu Google (Nguồn: Google)

1. Tìm ID của file

– Ví dụ chúng ta có một link như sau :

https://drive.google.com/file/d/1ekYj_JqIpcYXxV5KtXlJfSENriRjDaiw/view?usp=sharing

   

2. Dùng link dưới để tải

– Để get được link download thì ta có thể lấy id file cần download và dán vào link này :

https://drive.google.com/uc?export=download&id=<id file>

     Thay <id file> bằng id ở trên, ví dụ:

https://drive.google.com/uc?export=download&id=1ekYj_JqIpcYXxV5KtXlJfSENriRjDaiw

     Vẫn không được thì có thể dùng thêm link này:

https://drive.google.com/uc?export=download&confirm=no_antivirus&id=<id file>

          Ví dụ:

https://drive.google.com/uc?export=download&confirm=no_antivirus&id=1ekYj_JqIpcYXxV5KtXlJfSENriRjDaiw

     Với cách này chúng ta có thể get được những file nhẹ từ Google Drive. Để có thể get được những file nặng thì chúng ta có thể dùng google drive api.