* use akas.imdb.com to work around IMDb Geo-Location issues with the scraper
This commit is contained in:
parent
b7406e54d4
commit
7968580281
|
@ -25,7 +25,7 @@ public class ArgumentBean {
|
||||||
@Option(name = "-rename", usage = "Rename episode/movie files", metaVar = "fileset")
|
@Option(name = "-rename", usage = "Rename episode/movie files", metaVar = "fileset")
|
||||||
public boolean rename = false;
|
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;
|
public String db;
|
||||||
|
|
||||||
@Option(name = "--order", usage = "Episode order", metaVar = "[Default, Absolute, DVD]")
|
@Option(name = "--order", usage = "Episode order", metaVar = "[Default, Absolute, DVD]")
|
||||||
|
|
|
@ -30,7 +30,7 @@ import net.sourceforge.filebot.ResourceManager;
|
||||||
|
|
||||||
public class IMDbClient implements MovieIdentificationService {
|
public class IMDbClient implements MovieIdentificationService {
|
||||||
|
|
||||||
private final String host = "www.imdb.com";
|
private final String host = "akas.imdb.com";
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -33,7 +33,7 @@ public class IMDbClientTest {
|
||||||
assertEquals(1, results.size());
|
assertEquals(1, results.size());
|
||||||
Movie movie = (Movie) results.get(0);
|
Movie movie = (Movie) results.get(0);
|
||||||
|
|
||||||
assertEquals("Battle Angel", movie.getName());
|
assertEquals("Gunnm", movie.getName());
|
||||||
assertEquals(1993, movie.getYear());
|
assertEquals(1993, movie.getYear());
|
||||||
assertEquals(107061, movie.getImdbId(), 0);
|
assertEquals(107061, movie.getImdbId(), 0);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue