* update data

This commit is contained in:
Reinhard Pointner 2014-02-18 06:55:45 +00:00
parent 40b68ba6c9
commit 90c28cb484
2 changed files with 8 additions and 2 deletions

View File

@ -102,8 +102,8 @@ new File('omdb.txt').eachLine('Windows-1252'){
def name = line[2].replaceAll(/\s+/, ' ').trim()
def year = line[3].toInteger()
def runtime = line[5]
def rating = tryQuietly{ line[11].toFloat() } ?: 0
def votes = tryQuietly{ line[12].replaceAll(/\D/, '').toInteger() } ?: 0
def rating = tryQuietly{ line[12].toFloat() } ?: 0
def votes = tryQuietly{ line[13].replaceAll(/\D/, '').toInteger() } ?: 0
if ((year >= 1970 && (runtime =~ /h/ || votes >= 200) && rating >= 1 && votes >= 50) || (year >= 1950 && votes >= 5000)) {
omdb << [imdbid.pad(7), name, year]

View File

@ -302,6 +302,7 @@ BaCKToRG
BaCo
BaDTaStE
BAF
BaibaKo
BAJSKORV
Baka-Anime
Baka-Chi
@ -350,6 +351,7 @@ BETAMAX
BF1
BFF
BG
BgFr
BHATTI
BiA
BiDA
@ -1047,6 +1049,7 @@ HANGPUNG
HANNIBAL
HANrel
HARMY
HarrHD
Haterman
Hatsuyuki
Hatsuyuki-Kaitou
@ -1235,6 +1238,7 @@ israntxa
iSUBS
iTA
ITG
iTOONZ
iTSDVD
ITZ
IY-A_Excal
@ -1934,6 +1938,7 @@ RMx
RoCK&BlueLadyRG
RoCKRioT
RoFL
ROGER
ROOR
ROTATE
ROUGH
@ -2097,6 +2102,7 @@ snavE
SNCo
Sneak
SnF
SNOW
SNS
SNUGGLER
SoCkS