This commit is contained in:
Reinhard Pointner 2014-11-28 15:59:47 +00:00
parent 16044ce6da
commit 5d90c12e53

View File

@ -222,7 +222,7 @@ tvdb_updates.values().each{ update ->
.findAll{ it.select('td').any{ it.text() ==~ /en/ } } .findAll{ it.select('td').any{ it.text() ==~ /en/ } }
.findResults{ it.select('td').first().text() } .findResults{ it.select('td').first().text() }
.findAll{ it?.length() > 0 } .findAll{ it?.length() > 0 }
def intlseries jsoup.select('#seriesform input') def intlseries = jsoup.select('#seriesform input')
.findAll{ it.attr('name') =~ /SeriesName/ } .findAll{ it.attr('name') =~ /SeriesName/ }
.sort{ it.attr('name').match(/\d+/) as int } .sort{ it.attr('name').match(/\d+/) as int }
.collect{ it.attr('value') } .collect{ it.attr('value') }