error :
Staples' Code :
This is the wrapper i am using which also contains the Gaia Login function : )
Link : http://haithame.minus.com/mQwg7Lv9t/
Results 1 to 7 of 7
- 01 Apr. 2012 06:22pm #1
Yes, I have a problem with it : )
- 01 Apr. 2012 07:06pm #2
Moderator Bachelor of Science in Virginity
- Age
- 31
- Join Date
- Nov. 2009
- Location
- Toronto
- Posts
- 5,421
- Reputation
- 546
- LCash (Rank 3)
- 1.96
- 01 Apr. 2012 09:07pm #3
I did , still getting the error : Invalid URI: The format of the URI could not be determined.
of this code in the wrapper :Code:Public Function [Get](ByVal URL As [String], ByVal Referer As [String]) As [String] Dim Request As HttpWebRequest = DirectCast(WebRequest.Create(URL), HttpWebRequest) Request.Method = "GET" Request.UserAgent = "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.224 Safari/534.10" Request.Referer = Referer Request.CookieContainer = m_Cookies Try Request.UserAgent = If((m_User_Agent <> [String].Empty), m_User_Agent, Nothing) Finally Request.UserAgent = Nothing End Try Try Dim Response As HttpWebResponse = DirectCast(Request.GetResponse(), HttpWebResponse) For i As Integer = 0 To Response.Cookies.Count - 1 m_Cookies.Add(Response.Cookies(i)) If rawCookies.ContainsKey(Response.Cookies(i).Name) Then rawCookies.Remove(Response.Cookies(i).Name) End If rawCookies.Add(Response.Cookies(i).Name, Response.Cookies(i).Value) Next Return (New StreamReader(Response.GetResponseStream())).ReadToEnd() Catch ex As Exception Debug.Write(ex.Message) Return [String].Empty End Try End Function
- 01 Apr. 2012 09:08pm #4
- 02 Apr. 2012 01:06am #5
Moderator Bachelor of Science in Virginity
- Age
- 31
- Join Date
- Nov. 2009
- Location
- Toronto
- Posts
- 5,421
- Reputation
- 546
- LCash (Rank 3)
- 1.96
- 04 Apr. 2012 05:40am #6
- 04 Apr. 2012 03:23pm #7