fix(pt/anitube): Fixed pt/Anitube (close #525)

This commit is contained in:
WebDitto 2025-01-18 16:36:56 -03:00
parent 527dc0e0cd
commit abd872d97d
2 changed files with 2 additions and 2 deletions

View file

@ -1,7 +1,7 @@
ext { ext {
extName = 'Anitube' extName = 'Anitube'
extClass = '.Anitube' extClass = '.Anitube'
extVersionCode = 21 extVersionCode = 22
} }
apply from: "$rootDir/common.gradle" apply from: "$rootDir/common.gradle"

View file

@ -108,7 +108,7 @@ class AnitubeExtractor(
.body.string() .body.string()
val adsUrl = body.let { val adsUrl = body.let {
Regex("""ADS_URL\s*=\s*['"]([^'"]+)['"]""") Regex("""urlToFetch\s*=\s*['"]([^'"]+)['"]""")
.find(it)?.groups?.get(1)?.value .find(it)?.groups?.get(1)?.value
?: "" ?: ""
} }