[Newbies] Making requests to an HTML server
cdrick65 at gmail.com
Wed Jan 6 13:38:47 UTC 2010
not sure I understand correctly but to me you don't need albatross.
1) go to a URL and get the content (easy part)
soupTag := Soup fromUrl: 'yourUrl.html'.
otherTag := (soup findTagByClass:
otherUrlString := (messageSoupTag childAt: 3) attributeAt: 'href'. "if the
url is in the 3rd child of otherTag"
secondSoupTag := Soup fromUrl: otherUrl.
"or convert as a true URL object that you can change"
url := otherUrlString asUrl.
> 2) go to a URL and retrieve some session ID then make a more
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Beginners