KeepBotting
2014-10-27 18:20:34
(I guess this is the correct section for this.)
Mmkay, my problem lies in the way GetHTTPPage … uh … gets a http page.
For whatever reason, it can't handle a URL that redirects.
For instance, the normal URL for my powerbot profile page is https://www.powerbot.org/community/user/446368-keepbotting/
The way IP.Board's forum software works, you can remove the text in the last parameter of the URL, like so: https://www.powerbot.org/community/user/446368-/
Notice the text "keepbotting" is gone from the last portion of the URL.
When entering this into a normal browser, the incomplete link will automatically fetch the complete link and redirect my browser.
GetHTTPPage apparently can't compensate for this. It returns the string of HTML from the redirect page (which is nothing useful for me).
Any way I can get around this?
Mmkay, my problem lies in the way GetHTTPPage … uh … gets a http page.
For whatever reason, it can't handle a URL that redirects.
For instance, the normal URL for my powerbot profile page is https://www.powerbot.org/community/user/446368-keepbotting/
The way IP.Board's forum software works, you can remove the text in the last parameter of the URL, like so: https://www.powerbot.org/community/user/446368-/
Notice the text "keepbotting" is gone from the last portion of the URL.
When entering this into a normal browser, the incomplete link will automatically fetch the complete link and redirect my browser.
GetHTTPPage apparently can't compensate for this. It returns the string of HTML from the redirect page (which is nothing useful for me).
Any way I can get around this?