Hi. I am trying to create a skript, which finds the amount of downloads from this site:
https://mcskripts.dk/search/skripts/id/2333 It is danish tho
My code:
This is the error in the console: (Yes i have skutilities)
Thx!
https://mcskripts.dk/search/skripts/id/2333 It is danish tho
My code:
Code:
command /getIt:
trigger:
send "https://mcskripts.dk/search/skripts/id/2333"
#stop
loop 10000 times:
set {_c} to line loop-number from url "https://mcskripts.dk/search/skripts/id/2333"
#<p style="font-size:175%;padding:5px 0px;margin-top:-4px;">550</p> 550 is the count of downloads
set {_c} to "%{_c}%"
replace all "1", "2", "3", "5", "4", "6", "7", "8", "9", "0" in {_c} with ""
"%{_c}%" is "<p style=""font-size:%%;padding:px px;margin-top:-px;""></p>":
send line loop-number from url "https://mcskripts.dk/search/skripts/id/2333" parsed as a text
stop
This is the error in the console: (Yes i have skutilities)
Code:
[skUtilities] v0.9.2: Error Reading from: 'https://mcskripts.dk/search/skripts/id/2333' Is the site down? (ExprUrlReadLine.class)
Thx!