fix comando api scrapping with different formatting

This commit is contained in:
TheBeastLT
2021-09-15 10:01:50 +02:00
committed by TheBeastLT
parent 0bda72e19c
commit 211003a1dc
3 changed files with 10 additions and 9 deletions

View File

@@ -11,7 +11,7 @@ function sanitizePtName(name) {
}
function sanitizePtOriginalName(name) {
return name.trim().replace(/S\d+$/, '');
return name.trim().replace(/S\d+$|\d.\s?[Tt]emporada/, '');
}
function sanitizePtLanguages(languages) {