mirror of
https://github.com/JasonHHouse/gaps.git
synced 2026-02-21 11:58:37 -06:00
Removing : from string to compare movies
This commit is contained in:
@@ -424,7 +424,7 @@ public class GapsSearchService implements GapsSearch {
|
||||
if (collection.has("parts")) {
|
||||
JsonNode parts = collection.get("parts");
|
||||
parts.iterator().forEachRemaining(jsonNode -> {
|
||||
String title = jsonNode.get("title").asText();
|
||||
String title = jsonNode.get("title").asText().replaceAll(":", "");
|
||||
int year = -1;
|
||||
if(jsonNode.has("year")) {
|
||||
year = jsonNode.get("year").asInt(-1);
|
||||
|
||||
Reference in New Issue
Block a user