mirror of
https://github.com/mitb-archive/filebot
synced 2025-03-09 22:09:47 -04:00
* since changing the search url, we only get shows, no additional checks necessary
This commit is contained in:
parent
91a353624c
commit
a94cedd601
@ -61,10 +61,6 @@ public class TVDotComClient extends EpisodeListClient {
|
||||
List<SearchResult> searchResults = new ArrayList<SearchResult>(nodes.size());
|
||||
|
||||
for (Node node : nodes) {
|
||||
String category = node.getParentNode().getTextContent();
|
||||
|
||||
// we only want search results that are shows
|
||||
if (category.toLowerCase().startsWith("show")) {
|
||||
String title = node.getTextContent();
|
||||
String href = XPathUtil.selectString("@href", node);
|
||||
|
||||
@ -76,7 +72,6 @@ public class TVDotComClient extends EpisodeListClient {
|
||||
Logger.getLogger(Logger.GLOBAL_LOGGER_NAME).log(Level.WARNING, "Invalid href: " + href, e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cache.addAll(searchResults);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user