Script có thể download tất cả các file theo Folder hoặc từng File riêng lẻ trên FShare viết bằng PHP. Nên sử dụng PHP7 là tối thiểu. Ưu tiên các bạn có tài khoản premium của FShare thì việc download sẽ nhanh hơn.
Sau khi clone về thì mở terminal gõ lệnh: composer install
Chỉ định ID của Folder hoặc ID của file theo dạng array vào biến $link
. Nếu muốn skip file nhất định thì chỉ định ID vào mục skip
Mở file index.php cập nhật tài khoản fshare của mình vào $fshareAccount
, tham số type để là free
hoặc premium
tùy vào loại tài khoản bạn đang sử dụng
Vào terminal gõ: php index.php
và chờ kết quả
enjoy :))