1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-11-16 14:25:02 -05:00

* use the same host as in search for php calls

This commit is contained in:
Reinhard Pointner 2011-12-14 01:31:27 +00:00
parent 66af29de7f
commit ca0f1170f6

View File

@ -200,7 +200,7 @@ public class TheTVDBClient extends AbstractEpisodeListProvider {
public TheTVDBSearchResult lookupByIMDbID(int imdbid, Locale language) throws Exception { public TheTVDBSearchResult lookupByIMDbID(int imdbid, Locale language) throws Exception {
URL query = getResource(MirrorType.XML, "/api/GetSeriesByRemoteID.php?imdbid=" + imdbid + "&language=" + language.getLanguage()); URL query = getResource(null, "/api/GetSeriesByRemoteID.php?imdbid=" + imdbid + "&language=" + language.getLanguage());
Document dom = getDocument(query); Document dom = getDocument(query);
String id = selectString("//seriesid", dom); String id = selectString("//seriesid", dom);