Skip to content

elvinmahmudov/jget

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JGet - Download files from anywhere


Build Status

Getting Started

This is basic java downloader library, analog to wget

Installing

Step 1: Add to maven dependencies

        <dependency>
            <groupId>com.github.elvinmahmudov</groupId>
            <artifactId>jget</artifactId>
            <version>1.1</version>
        </dependency>

Step 2: Create JGet instance and add task to it

public class Main {

    private static String MODEL_NAME = "com.elvinmahmudov.dynocom.MathTeacher";

    public static void main(String[] args) throws IOException {
        JGet jget = JGet.getInstance();
        String url = "https://file-examples-com.github.io/uploads/2017/04/file_example_MP4_480_1_5MG.mp4";
        String saveDirectory = "download";

        JTask task = new JTask(url, saveDirectory, "test.mp4");
        jget.addTask(task);
        jget.start();
    }

}

About

JGet - Download files from anywhere

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages