Implement a stricter check for possible ASIN values in titles

This commit is contained in:
Selfhost Alt 2022-04-16 10:40:10 -07:00
parent 6d823f4e42
commit d6c5b6e8c6

View File

@ -37,7 +37,7 @@ class Audible {
}
isProbablyAsin(title) {
return /[0-9A-Z]{10}/.test(title)
return /^[0-9A-Z]{10}$/.test(title)
}
asinSearch(asin) {