Results 1 to 10 of 13
-
19th May 2011, 07:12 PM #1OPMemberWebsite's:
warezall.comHow to get pagesource of Google ?
Code:Dim req As HttpWebRequest = Nothing Dim pagesource As StreamReader Dim response As HttpWebResponse req = WebRequest.Create("http://www.google.co.in") req.UserAgent = "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.8) Gecko/20100625 Firefox/3.6.8" req.Timeout = 60000 req.Method = "GET" 'req.CookieContainer = cookies req.AllowAutoRedirect = False req.ContentType = "application/x-www-form-urlencoded" response = req.GetResponse() pagesource = New IO.StreamReader(response.GetResponseStream(), System.Text.Encoding.GetEncoding("utf-8")) Dim str As String = pagesource.ReadToEnd Dim iofile2 As New StreamWriter("c:\post.txt", False, Encoding.Default) iofile2.Write(str) iofile2.Close()
But i m getting invalid characters like
How to get rid of selected words
ThanksCatchItBaby Reviewed by CatchItBaby on . How to get pagesource of Google ? Dim req As HttpWebRequest = Nothing Dim pagesource As StreamReader Dim response As HttpWebResponse req = WebRequest.Create("http://www.google.co.in") req.UserAgent = "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.8) Gecko/20100625 Firefox/3.6.8" req.Timeout = 60000 req.Method = "GET" 'req.CookieContainer = cookies Rating: 5
-
19th May 2011, 07:17 PM #2Member
You are being serious? You want the source of Google homepage?
-
19th May 2011, 07:18 PM #3Banned
EDIT : wait you want source code ?
lol , it's Google , not some noob site !
All source codes are encrypted .
PS: Use your brain !
-
19th May 2011, 07:22 PM #4Member
Lol...
-
19th May 2011, 07:23 PM #5BannedWebsite's:
IMGit.org ShareBB.org ShareBB.infoWhat...?
-
19th May 2011, 07:24 PM #6MemberWebsite's:
KWWHunction.com Google.comha ha..
Intel Xeon E3 -1240 16 GB DDR3 Ram 4 x 1 TB HDD 1 Gbit 100 TB BW -
Location:Netherlands 185 Euros/Month- PM me to order
-
19th May 2011, 07:28 PM #7OPMemberWebsite's:
warezall.comAll above comment's are useless
press clt + u that's what i need either it is encrypted or not
cogh cogh..
-
19th May 2011, 07:33 PM #8Member
Why the hell would you want to copy Google's homepage? Do you want to have a Google search form on your site, if you do here you go:
http://www.google.com/cse/
You'll get a code which you will add on your site.
-
19th May 2011, 07:42 PM #9OPMemberWebsite's:
warezall.comGoogle.co.in is just a example
want to get rid of selected character in image ONLY NOTHING ELSE I WANT TO DO
ascii value of selected character is = 10
may be i m missing encoding or something else in above example
-
19th May 2011, 07:52 PM #10Member
hmm maybe you should use UTF8Encoding .
If you are trying to create a bot or a leecher, there are other easy ways
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Google Shutdowns Continue: iGoogle, Google Video, Google Mini & Others Are Killed
By Bretteo in forum News & Current EventsReplies: 16Last Post: 9th Jul 2012, 07:22 AM -
[Selling] Beat Google Panda And Penguin - Boost Your Rank On Google Now! Read more @ bestblack
By alexjer12 in forum ServicesReplies: 1Last Post: 14th Jun 2012, 07:59 AM -
Google Punishes Chrome for 60 days for violating Google Rules
By Carbon in forum News & Current EventsReplies: 5Last Post: 6th Jan 2012, 12:38 PM -
Google is Evil: Google?s removal of parked domains was planned all along
By Phozon in forum News & Current EventsReplies: 3Last Post: 2nd Dec 2011, 03:27 PM -
Google Scores a Big Victory for BitTorrent Sites Google has won its court case again
By Daniel in forum News & Current EventsReplies: 0Last Post: 30th Jun 2010, 06:51 PM
themaLeecher - leech and manage...
Version 5.03 released. Open older version (or...