GithubHelp home page GithubHelp logo

duythongle / fshare2gdrive Goto Github PK

View Code? Open in Web Editor NEW
77.0 77.0 52.0 53 KB

NodeJS script for direct uploading from FShare.vn FILES/FOLDERS to Google Drive without storing files locally.

License: MIT License

Shell 34.62% JavaScript 65.38%
fshare google-drive nodejs rclone

fshare2gdrive's People

Contributors

duythongle avatar sntran avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

fshare2gdrive's Issues

Invalid Characters

Anh ơi, cho em hỏi, em up phim nào cũng bị lỗi này thì sửa làm sao hả anh

"<fshare>:fshare/A Beautiful Day In The Neighborhood 2019 2160p BluRay REMUX HEVC DTS-X.7.1-TVS.mkv" failed: config name contains invalid characters - may only contain 0-9, A-Z ,a-z ,_ , - and space

Unstable 400 error from fshare API

Dạo này login hay bị lỗi 400, phải thử 2 -3 lần mới thành công, mình đặt lênh tự đọng trong crontab mỗi lần login fails là nó ngưng luôn
image

Add Change md5 file.

Chào bác,
Với các file video phim bản quyền thì có khả năng sẽ bị cắm cờ nếu không change md5 của file. Bác bổ sung tính năng này nữa thì tuyệt vời :D

Cannot login Fshare recently

Untitled
I cannot login to Fshare recently. Account is VIP already.
However, another friend can login successfully.
What could be the problem here? Thank you.

Lỗi login Fshare.

Tính hình ko khả quan là mấy a ơi. auto-retry 10 lần có vẻ vẫn ko ăn thua.
Screenshot_20191107-021533

Lỗi download nhiều lần

Anh ơi, nếu anh có thời gian thì có thể fix hộ em lỗi download không dừng được không ạ, em bỏ folder fshare chỉ có 10 tập phim để up lên google drive, nhưng sau khi up xong 10 tập lên google drive thì nó không dừng download lại mà fshare nó cứ download lặp lại mãi folder đấy không dừng.

Upload failed

2019/05/13 21:38:50 "gdrive:/Upload/" is a directory

Khi mình tiến hành chạy lệnh như hướng dẫn thì nó báo lỗi như vậy. Liệu có phải do nó ko đọc được tên file cần upload?

Lỗi tải file có tên chứa kí tự "-"

admin@DS718plus:~$ curl -s https://duythongle.github.io/fshare2gdrive/download.sh | bash -s "https://www.fshare.vn/file/QRBZQGR8KXOA5J2F" "1" "/121-150/"

Fshare API changed, can not login

Script transfer file từ Fshare báo lỗi "Retry request /api/user/login with wait time 2s..." là do thư viện API của Fshare thay đổi.

Mong tác giả DuyThongLe bỏ chút thì giờ fix cho anh em được sử dụng cái program quá tuyệt này.

Hỗ trợ code chạy trên Google Colab

Em mới mày mò bên Google Colab thấy code của anh hoàn toàn chạy được trên Colab nhưng có vấn đề chỗ lúc download thì nó không hiện ra % đã down và up lên Drive là bao nhiêu. Anh có thể xem hình bên dưới.
https://images2.imgbox.com/7e/73/aslG9bc0_o.jpg
Anh có thể làm 1 bản chạy tốt cho Google Colab được không?
Em có thử làm 1 cái ở đây: https://colab.research.google.com/drive/1ztAs_8iXWqamwmQpW_lmAIw9z0Jh_Qx0

tốc độ down load rất chậm

bác ơi em hỏi với, e xài script của bác trên gg vps lẫn azure tốc độ chỉ được 800kb/s server singapore bác biết tại sao không ạ

Raspbian Request: Xin HD chạy fshare2gdrive headless SSH

Hi anh @duythongle , em run fshare2gdrive trên Raspberry pi 3 headless nên mỗi lần transfer đều phải mở SSH trên windows rồi chờ nó finish mới close SSH session được. Xin anh hd giúp cách nào chạy command xong rồi tắt SSH nó vẫn run tiếp được không ạ. Cảm ơn anh.

Replace api2.fshare.vn with api.fshare.vn in fshare2gdrive.js

I tried to use the source from the repo to sign in but failed all the time
After doing some research, i finally found that api2.fshare.vn will just return a 400 error code, maybe this api is deprecated ?
Replacing api2.fshare.vn with api.fshare.vn in fshare2gdrive.js file will get everything back working again
222

Fshare download failed

Dạo này download từ Fshare về Gdrive thường xuyên không download được 100%, chỉ vài chục % là đứt, xin cho hỏi có phải do fshare thay đổi chính sách không?

Cám ơn nhiều lắm

Không thể login tài khoản fshare

bạn ơi mình làm tới bước login
tail -n+2 | node - login "your_fshare_email" "your_fshare_password"
thì nó toàn báo
Capture1
trong khi đấy hồi trc mình login bình thường và có snapshot lại giờ login không đc có phải do fshare đã fix rồi hay không

lỗi dowload

làm làm xong tất cả các bước tới phần dowload thì bị lỗi như thế này ạ:
2020/10/14 12:57:45 Parsing ":/SimHub.7.01.4.zip" failed: config name contains invalid characters - may only contain 0-9, A-Z ,a-z ,_ , - and space

Lỗi Retry request API

Hello anh Thông, hiện tại em chạy fshare2gdrive bị lỗi:

Retry request /api/user/get with wait time 2s...
Retry request /api/user/get with wait time 2s...
Retry request /api/user/get with wait time 2s...

Em kiểm tra API key trong script của anh và key do Fshare gửi giống nhau. Không hiểu sao nó lại không chạy được. Anh fix giúp nhé. Cảm ơn anh.

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

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"

Lỗi khi FS có tên file đặt dấu cách

Mình thử thì thấy tool này quá hoàn hảo tuy nhiên có 1 bug nhỏ là khi tập tin Fshare có khoảng cách như [Tap Tin.mkv] thì nó chỉ nhận diện được ký tự Tap và khi upload lên gdrive thì chỉ có tên là Tap mà không có định dạng.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.