[Python] Weird Errors
Riddle, your HTTP Class is fucked... Nuff said, It wont post data to Gaia
Im ready to Ragequit python...
Im ready to Ragequit python...
i = 1
while i <=8:
HTTP.GET("Link here"+str(i),"Postdatahere")
i++if Gaia.Login(user,passw) !=False:
Gold_Start = "<span id=\"gold_amt\">"
Gold_End = "</span>"
Html = http.GET("http://www.gaiaonline.com")
Gold = (self.g.GetBetween(self,Html,Gold_Start,Gold_End))
print(Gold)


Riddle wrote:Heh. Bman, I don't know what you did wrong... but next time post a script that re-creates the error you were winning about.
def GetBetween(self, content, start, end):
"""Returns '' on no match"""
r = content.split(start)
if len(r) > 1:
r = r[1].split(end)
return r[0]
return ''
[/0][/1]