|
Post by Darth Maul on Dec 16, 2018 19:53:08 GMT
|
|
|
Post by Darth Maul on Dec 16, 2018 19:53:51 GMT
|
|
|
Post by Darth Maul on Dec 16, 2018 19:59:20 GMT
Fine, if you're really bored you can do something like this.Using Autohotkey, you can parse through the website, store it locally, and use it however you want. As a simple example you can pull all the monster names out using this: CodeOutput := "" UrlDownloadToFile, % "http://www.noxiousot.com/index.php?subtopic=creatures", TempFile FileRead, HTML, TempFile FileDelete, TempFile
Needle := "<a href=""\?subtopic=creatures&action=creature&id=[^>]+>(?P<Name>[^<]+)" Pos := 1 While (Pos := RegExMatch(HTML, Needle, Match, Pos + StrLen(Match))) Output .= MatchName "`r`n"
;MsgBox, % Output FileDelete, monsterlistNames.txt FileAppend, % Output, monsterlistNames.txt
Example Output: Example Output.txt----- Alternatively you can pull all the urls out with this: CodeOutput := "" UrlDownloadToFile, % "http://www.noxiousot.com/index.php?subtopic=creatures", TempFile FileRead, HTML, TempFile FileDelete, TempFile
Needle := "<a href=""\?subtopic=creatures&action=creature&id=(?P<Name>[^<]+)""\>" Pos := 1 While (Pos := RegExMatch(HTML, Needle, Match, Pos + StrLen(Match))) Output .= "http://www.noxiousot.com/index.php?subtopic=creatures&action=creature&id=" MatchName "`r`n"
;MsgBox, % Output FileDelete, monsterlistURLs.txt FileAppend, % Output, monsterlistURLs.txt
Example Output: Example Output.txt----- Using something similar you could run through all the links and store the relevant data, i.e. loot list.
|
|