generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Need help "deciphering" HTML code in ROBLOX.

Previous Thread :: Next Thread 
drslicendice is not online. drslicendice
Joined: 05 Mar 2011
Total Posts: 18737
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
drslicendice is not online. drslicendice
Joined: 05 Mar 2011
Total Posts: 18737
09 Apr 2016 12:41 PM
a1


Report Abuse
Bernkastel2727 is not online. Bernkastel2727
Joined: 23 Sep 2012
Total Posts: 2612
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
drslicendice is not online. drslicendice
Joined: 05 Mar 2011
Total Posts: 18737
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
drslicendice is not online. drslicendice
Joined: 05 Mar 2011
Total Posts: 18737
09 Apr 2016 12:54 PM
a2


Report Abuse
Bernkastel2727 is not online. Bernkastel2727
Joined: 23 Sep 2012
Total Posts: 2612
09 Apr 2016 12:56 PM
I didn't enable it lol my bad
Report Abuse
PerilousDanger is not online. PerilousDanger
Joined: 21 Aug 2012
Total Posts: 3773
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
Bernkastel2727 is not online. Bernkastel2727
Joined: 23 Sep 2012
Total Posts: 2612
09 Apr 2016 01:03 PM
CURL error (curl_easy_perform, 067FB9B0): Couldn't resolve host name
Report Abuse
drslicendice is not online. drslicendice
Joined: 05 Mar 2011
Total Posts: 18737
09 Apr 2016 01:10 PM
You didn't replace the (DOT) with .


Report Abuse
morashsPeasant is not online. morashsPeasant
Joined: 06 Jan 2011
Total Posts: 4944
09 Apr 2016 01:45 PM
ye hafta scrape
Report Abuse
DiamondBladee is not online. DiamondBladee
Joined: 24 Feb 2013
Total Posts: 3527
09 Apr 2016 01:46 PM
you can use tick() to figure this out without even using http
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image