1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-08-13 17:03:45 -04: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 {
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);
String id = selectString("//seriesid", dom);