|
| 09 Apr 2016 12:34 PM |
x = game.HttpService:GetAsync("http://www(DOT)calcprofi(DOT)com/how-many-days-until-summer.html") print(x)
Replace (DOT) with .
Trying to get the amount of days until summer, but first I need to remove the other useless things
Help please? If you look close enough in the HTML code you can find the amount of days.
Thanks!
|
|
|
| Report Abuse |
|
|
| |
|
|
| 09 Apr 2016 12:45 PM |
First off ROBLOX doesn't let you type post HTML code (I learned that the hardest way possible) also your link isn't loading...
The Requested URL /how-many-days-until-summer.html was not found on this server |
|
|
| Report Abuse |
|
|
|
| 09 Apr 2016 12:47 PM |
You probably didn't change the (DOT)s into .
Or didn't enable httpservice
It works for me.
|
|
|
| Report Abuse |
|
|
| |
|
|
| 09 Apr 2016 12:56 PM |
| I didn't enable it lol my bad |
|
|
| Report Abuse |
|
|
|
| 09 Apr 2016 12:59 PM |
tbh you could write your own script in lua easier
get unix time from first day of summer get unix time from the roblox server
subtract summer time from roblox time
divide by 60 to get minutes till summer divide by 3600 to get hours till summer divide by 86400 to get days till summer |
|
|
| Report Abuse |
|
|
|
| 09 Apr 2016 01:03 PM |
| CURL error (curl_easy_perform, 067FB9B0): Couldn't resolve host name |
|
|
| Report Abuse |
|
|
|
| 09 Apr 2016 01:10 PM |
You didn't replace the (DOT) with .
|
|
|
| Report Abuse |
|
|
| |
|
|
| 09 Apr 2016 01:46 PM |
| you can use tick() to figure this out without even using http |
|
|
| Report Abuse |
|
|