1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-11-02 08:25:02 -04:00

-Dnet.filebot.data.master

This commit is contained in:
Reinhard Pointner 2016-07-09 19:55:58 +08:00
parent 1396a7476d
commit e0c461da76

View File

@ -14,13 +14,15 @@ def dir_data = "${dir_website}/data"
new File(dir_data).mkdirs() new File(dir_data).mkdirs()
// sort and check shared regex collections // sort and check shared regex collections
def dir_data_master = System.getProperty('net.filebot.data.master', 'https://raw.githubusercontent.com/filebot/data/master')
['add-series-alias.txt', ['add-series-alias.txt',
'exclude-blacklist.txt', 'exclude-blacklist.txt',
'query-blacklist.txt', 'query-blacklist.txt',
'release-groups.txt', 'release-groups.txt',
'series-mappings.txt' 'series-mappings.txt'
].each{ ].each{
def input = new URL("https://raw.githubusercontent.com/filebot/data/master/${it}") def input = new URL(dir_data_master + '/' + it)
def output = new File("${dir_data}/${it}") def output = new File("${dir_data}/${it}")
log.fine "Fetch $input" log.fine "Fetch $input"