Giter VIP home page Giter VIP logo

fshare2drive's Introduction

Fshare2Drive - Download, save and upload to Google Drive using Fshare API.

Introduction

Fshare2Drive is a tool to transfer Fshare file to Google Drive using Fshare API.

Requirements

  • You need to have a VIP Fshare with daily bandwith available account to use this tool (to can download file with high speed).
  • A VPS with high speed internet connection (to can upload file to Google Drive with high speed), and can have unlimited bandwith.

Before install

  • Create API app for Fshare: go to this page. Click Get App Key button, then fill the form and click Submit button. You will get App Key and App Secret for your app via email.

Installation

  • Bellow instruction is for Ubuntu 20.04 and any Debian distro, but you can install on other Linux distro with some changes.

  • Update and install Python 3 (>= 3.6)

    sudo apt update
    sudo apt install python3 python3-pip git
  • How to use:

Setup tool

Bash

git clone https://github.com/nchungdev/fshare2drive
cd fshare2drive
mv -v fshare2drive/* .
rm -r fshare2drive
mv config.ini.example config.ini
pip3 install -r requirements.txt

To upload file from Fshare link to Drive, use:

1. Download with the URLs as input arguments:

python3 download.py <url1> <url2>

2. Download with the URLs read from a file:

python3 download.py input_urls.txt

3. Download with the URLs entered from the command line:

Run the below command line, then enter your urls

python3 download.py

Note: For all 3 ways above, you may need to enter authenticated information, Google Drive folder, etc. before start your downloading

Advance

If you don't want re-config when everytime re-fetch project, let's store config.txt in your drive

  • default_path is: 'content/drive/MyDrive/Secret/config.ini'

fshare2drive's People

Contributors

nchungdev avatar

Watchers

 avatar

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.