* use akas.imdb.com to work around IMDb Geo-Location issues with the scraper

This commit is contained in:
Reinhard Pointner 2012-02-18 07:54:01 +00:00
parent b7406e54d4
commit 7968580281
3 changed files with 3 additions and 3 deletions

View File

@ -25,7 +25,7 @@ public class ArgumentBean {
@Option(name = "-rename", usage = "Rename episode/movie files", metaVar = "fileset")
public boolean rename = false;
@Option(name = "--db", usage = "Episode/Movie database", metaVar = "[TVRage, AniDB, TheTVDB] or [OpenSubtitles, TheMovieDB]")
@Option(name = "--db", usage = "Episode/Movie database", metaVar = "[TVRage, AniDB, TheTVDB] or [OpenSubtitles, IMDb, TheMovieDB]")
public String db;
@Option(name = "--order", usage = "Episode order", metaVar = "[Default, Absolute, DVD]")

View File

@ -30,7 +30,7 @@ import net.sourceforge.filebot.ResourceManager;
public class IMDbClient implements MovieIdentificationService {
private final String host = "www.imdb.com";
private final String host = "akas.imdb.com";
@Override

View File

@ -33,7 +33,7 @@ public class IMDbClientTest {
assertEquals(1, results.size());
Movie movie = (Movie) results.get(0);
assertEquals("Battle Angel", movie.getName());
assertEquals("Gunnm", movie.getName());
assertEquals(1993, movie.getYear());
assertEquals(107061, movie.getImdbId(), 0);
}