Compare commits
1 Commits
b97e812987
...
fix/episod
Author | SHA1 | Date | |
---|---|---|---|
faaa8c60bd
|
@ -100,6 +100,9 @@ public class KodikHtmlParserService {
|
||||
|
||||
private static int parseIntSafely(String value) {
|
||||
try {
|
||||
if (value.contains("~")) {
|
||||
return Integer.parseInt(value.split("~")[1]);
|
||||
}
|
||||
return Integer.parseInt(value);
|
||||
} catch (NumberFormatException e) {
|
||||
log.error(String.format("invalid number format %s", value), e);
|
||||
|
Reference in New Issue
Block a user