Fix Link Parser

This commit is contained in:
Mylloon 2021-09-04 00:02:55 +02:00
parent e82ad2c503
commit 705880d5de

View file

@ -197,7 +197,7 @@ class Scraper(
}
elements["downloadLinks"] = try {
htmlPage = htmlPage.replace(Regex("Download Instructions:</span>(.*?)?<br />"),
"Download Instructions:</span><br /><s")
"Download Instructions:</span><br />")
var tmp =
Regex("""Download Instructions:</span> ?<br />(.*|[\s\S]*)<br /><br />Trouble downloading|</a></div>""").findAll(
htmlPage)