duythongle / fshare2gdrive

NodeJS script for direct uploading from FShare.vn FILES/FOLDERS to Google Drive without storing files locally.
MIT License
77 stars 52 forks source link

lỗi tải file do url đưa vào curl tự nhiên sinh ra khoảng trắng #3

Closed ctnhobb closed 5 years ago

ctnhobb commented 5 years ago

em có tải 1 file này,trong log là lần thứ 2 chạy và lần cuối cùng là chạy thành công các lần khác k hiểu sao link geted đưa vào curl lại có dấu cách ạ http://downloadxxx.fshare.vn/dl/chuoi-co-the-bi-khoang-trang/tenfile.ext

`huydd@ss:~/fshare$ curl -s https://duythongle.github.io/fshare2gdrive/download.sh | bash -s "https://www.fshare.vn/file/X5MH7BQHXXOB8VJ" "drive" "/vps"

ctnhobb commented 5 years ago

sau lệnh python thì kí tự + bị biến thành " " ạ

`huydd@ss:~/fshare$ cat download.sh | bash -s "https://www.fshare.vn/file/X5MH7BQHXXOB8VJ" "drive" "/vps"

truoc lenh python

http://download024.fshare.vn/dl/MKR22o5BivyjoDdr7Fw15XqsQgnO+YXu7Lf3H5xGIGuAV-c24LfEB+vhKt-inLlb8-pr9ipYCLsFz4Em/Tinh%20Dau%20Tho%20Ngay.MP4

sau lenh python

http://download024.fshare.vn/dl/MKR22o5BivyjoDdr7Fw15XqsQgnO YXu7Lf3H5xGIGuAV-c24LfEB vhKt-inLlb8-pr9ipYCLsFz4Em/Tinh Dau Tho Ngay.MP4 `