mirror of
https://github.com/mitb-archive/filebot
synced 2024-11-17 23:05:03 -05:00
* update scripts
* remove generated files
This commit is contained in:
parent
7e0a7b8f10
commit
37570fce74
@ -43,6 +43,10 @@ def names = page.fetch().getHtml('utf-8')
|
|||||||
.depthFirst().TR.findAll{ it.TD.size() == 3 && it.TD[1].text() == 'English'}
|
.depthFirst().TR.findAll{ it.TD.size() == 3 && it.TD[1].text() == 'English'}
|
||||||
.findResults{ it.TD[0].A.text() }
|
.findResults{ it.TD[0].A.text() }
|
||||||
|
|
||||||
|
if (names.size() == 0) {
|
||||||
|
throw new Exception("Failed to scrape series names")
|
||||||
|
}
|
||||||
|
|
||||||
def anime = net.sourceforge.filebot.WebServices.AniDB.getAnimeTitles()
|
def anime = net.sourceforge.filebot.WebServices.AniDB.getAnimeTitles()
|
||||||
names += anime.findResults{ it.getPrimaryTitle() }
|
names += anime.findResults{ it.getPrimaryTitle() }
|
||||||
names += anime.findResults{ it.getOfficialTitle('en') }
|
names += anime.findResults{ it.getOfficialTitle('en') }
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
10
website/scripts/extract.groovy
Normal file
10
website/scripts/extract.groovy
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
// filebot -script "http://filebot.sf.net/scripts/extract.groovy" <folder>
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Auto-extract all zip and rar archives.
|
||||||
|
*/
|
||||||
|
args.getFiles{ it.isArchive() }.each {
|
||||||
|
def output = extract(file:it)
|
||||||
|
|
||||||
|
output.each{ println "Extracted: " + it.path }
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user