/glash

批量下载器

Primary LanguageGoGNU General Public License v2.0GPL-2.0

glash

能指定文件目录的下载器

Install

git clone https://github.com/micln/glash.git
cd glash
go build

##Usage

$ ./glash

Usage of ./glash:
  -d	start http server.
	listen on http://0.0.0.0:10087?url=xx&filename=xx
  -f string
    	source file, read urls from here
  -json
    	parse the file as json
  -t	parse the file like 'url(\t)filename'
  -tool string
    	choose the download tools. support [curl, aria2]

Example

# use httpd daemon
./glash -d

# use json file
./glash -f ~/test.json -json

# use aria2c
./glash -f ~/test.json -json -tool aria2