GET packet is dropping off the get url - WeOnlyDo Discussion board

GET packet is dropping off the get url (wodHttpDLX)

by irdanoob, Sunday, January 30, 2011, 08:59 (4829 days ago)

[code] Auth = Parse(wodYouTube(Index).Response.Body, ;auth= , &# )

lngStep = 4

wodYouTube(Index).Disconnect
wodYouTube(Index).URL = http://youtube.com/signin?action_handle_signin=true&nomobiletemp=1&hl=en_US&next=/&auth= & Auth
wodYouTube(Index).Get [/code]

now this is the from my debug.txt

debug.txt
GET / HTTP/1.1
Host: www.youtube.com
Accept-Encoding: gzip,deflate
Cookie: GALX=qrooZbYEHCU; SID=DQAAAIIAAAC8FIJhbY522ZCiVYP9GAyDGoxbt2eiZNHbSYmcvy6b3Yy0999l3HzOEIIJYtIPKoYN_BN9JOhELfpM1J0oPNTugtp2IpqTwX84TOqnY_TShF9MV56kGHZ9pvrBk_Wh4BLyrAYgwqq6XguvMTj_bu6EHmOQmm7x99EClaooQt16d3UivLpttE28aWD_S9T3sWg; GAUSR=compwizard.t@gmx.com; HSID=A5sott6LhBc6CCVzU; SSID=APgx48LBIVNuzU_nD; GoogleAccountsLocale_session=en; LSID=youtube:DQAAAIUAAADd4MQy0yHtkQWvMRfV-mTVDc8hSLc4ohJBWfDhihA7NnbKzoNMKrTj9kguQAfc8AJG2FRMfINSkYgfZdxPiQMe2x1mlLYRUnLZgTXSekZbNqbIXty0-SySYoHhypN1lbmoSZbtQMhgrSb8OneFFZDRadMMpzvsFqxqch-SOvD9EOkQM8FouTlJdbpPCLspZe4; use_hitbox=72c46ff6cbcdb7c5585c36411b6b334edAEAAAAw; VISITOR_INFO1_LIVE=eRfpk0Aq-2w; PREF=f1=50000000; GEO=0a41604a654aaa7b7166c4b3fe12fe14cwsAAAAzVVMYPhFBTUUY4A==; LOGIN_INFO=0c341f09459774082a7fe9504a6c74b6c3oAAAB7IjEiOiAxLCAiMyI6IDUzODY5MjY4NCwgIjIiOiAiWkhSU25wdEgwS0hoOG5QcGJYVTV0dz09IiwgIjUiOiA1MjA3Mjg5MTk5ODU3OTE5LCAiNCI6ICJHQUlBIiwgIjciOiAxMjk2MzczOTg1LCAiNiI6IGZhbHNlfQ==; YT_SID=DQAAAIQAAADd4MQy0yHtkQWvMRfV-mTVDc8hSLc4ohJBWfDhihA7NnbKzoNMKrTj9kguQAfc8AIetSdD34q3dP3cmtRYbs8ZJZv9hTwZ4Xf86oRSfQqrGDPvztEDbc1c_x56CFTnTBTUDGnMUkpgRziOakBdMxRENf7iDR3OC8Xu6lGZUbN7iGOHuddCNW6xpJqS-_mAQsM
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Referer: https://www.google.com/accounts/ServiceLogin?uilel=3&service=youtube&passive=true&continue=http://www.youtube.com/signin?action_handle_signin=true&nomobiletemp=1&hl=en_US&next= 2F&hl=en_US&ltmpl=sso
Cache-Control: max-age=0
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Content-Type: application/x-www-form-urlencoded

sniffed packets from browser:
GET /signin?action_handle_signin=true&nomobiletemp=1&hl=en_US&next= 2F&auth=DQAAAKkAAAC1mEnuT32B21CiQ0O68QLl6X6mH7Fkj74cIhBmyv_0oN-ufit7VGRt1Ew3Ys6HnWRAlyfO9MscJZFQwFxcNG8U3_f3na1lWKN0UY6NIASnSh6sVv3OVCsOVGBTMjt3FnNWFvdzYPHTfG-CjGHRPfSR-ggY-DCGLZD8I7ajPrj0F4VDXpBoX1OtgGTzZxZwkyeeQw1iig11RLbzMfa1ymIFTUigGkBqxGDhbzWQ3_YdjA HTTP/1.1
Host: www.youtube.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Cookie: use_hitbox=72c46ff6cbcdb7c5585c36411b6b334edAEAAAAw; VISITOR_INFO1_LIVE=LUbr0oonrDY; GEO=83f45cff35ec9ad73fe59f83ccc42de0cwsAAAAzVVNCyiw8TUNKPg==; recently_watched_video_id_list=422bb5d65ca7a4dd3a7d0d95e5e7650fWwEAAABzCwAAAHRVVm1ablpvMWdv; PREF=ftuc=1

HTTP/1.1 303 See Other
Date: Fri, 28 Jan 2011 23:01:00 GMT
Server: Apache
X-Content-Type-Options: nosniff
Set-Cookie: LOGIN_INFO=5aa5c9a2f6dd4a2f6e0a0b7ea230ce1ec3oAAAB7IjEiOiAxLCAiMyI6IDUzODY5MjY4NCwgIjIiOiAidjZTMEVvcVV6cGNYLUROcDVIel82dz09IiwgIjUiOiA1MjA3Mjg5MTk5ODU3OTE5LCAiNCI6ICJHQUlBIiwgIjciOiAxMjk2MjU1NjYwLCAiNiI6IGZhbHNlfQ==; path=/; domain=.youtube.com; expires=Mon, 25-Jan-2021 23:01:00 GMT; httponly
Set-Cookie: YT_SID=DQAAAIUAAAA1g3pszayO5pJv9D-ECKnVdAcC_Pfenm_bA6klcRAutTa8SxfOTyJiaZl1OboRVvsSLS8cNuGjCIpdlR0azvPeqmYrsPxKLd0Tg7uuRWpfxVRWP7VpGcUADQYUC5gKSlvpXgbSvJUe00_X8dDkN9GVZboj1WETbTY6tcZzliPVkrJbgBGbfrIlO_FVvaxOczs; path=/; domain=.youtube.com; expires=Mon, 25-Jan-2021 23:01:00 GMT; httponly
Set-Cookie: PREF=f1=50000000&ftuc=1; path=/; domain=.youtube.com; expires=Mon, 25-Jan-2021 23:01:00 GMT
Expires: Tue, 27 Apr 1971 19:44:06 EST
Content-Leng

Re: GET packet is dropping off the get url

by woddrazen, Sunday, January 30, 2011, 12:19 (4829 days ago) @ irdanoob

Hi,


Can you maybe double check your code? If I try this it worked for me without any problem.
[code]Dim http1 As New wodHttpDLXCom
Dim Auth As String

Auth = drazen

http1.Blocking = True
http1.DebugFile = c:debug.txt
http1.URL = http://youtube.com/signin?action_handle_signin=true&nomobiletemp=1&hl=en_US&next=/&auth= & Auth
http1.Get

Debug.Print http1.Response.Body[/code]
Here is what I received in debug file:
-------------------------------------------------------------------------------
** Connecting to youtube.com on port 80
** Requesting URL http://youtube.com/signin?action_handle_signin=true&nomobiletemp=1&hl=en_US&next=/&auth=drazen
GET /signin?action_handle_signin=true&nomobiletemp=1&hl=en_US&next=/&auth=drazen HTTP/1.0
Host: youtube.com

HTTP/1.0 301 Moved Permanently
Date: Sun, 30 Jan 2011 11:15:29 GMT
Server: Apache
Location: http://www.youtube.com/signin?action_handle_signin=true&nomobiletemp=1&hl=en_US&next=/&auth=drazen
Content-Length: 387
Content-Type: text/html; charset=iso-8859-1
-------------------------------------------------------------------------------

as you can see Auth value (drazen) was sent.


Regards,
Drazen

Re: GET packet is dropping off the get url

by irdanoob, Sunday, January 30, 2011, 16:08 (4829 days ago) @ woddrazen

Hi,


Can you maybe double check your code? If I try this it worked for me without any problem.
[code]Dim http1 As New wodHttpDLXCom
Dim Auth As String

Auth = drazen

http1.Blocking = True
http1.DebugFile = c:debug.txt
http1.URL = http://youtube.com/signin?action_handle_signin=true&nomobiletemp=1&hl=en_US&next=/&auth= & Auth
http1.Get

Debug.Print http1.Response.Body[/code]
Here is what I received in debug file:
-------------------------------------------------------------------------------
** Connecting to youtube.com on port 80
** Requesting URL http://youtube.com/signin?action_handle_signin=true&nomobiletemp=1&hl=en_US&next=/&auth=drazen
GET /signin?action_handle_signin=true&nomobiletemp=1&hl=en_US&next=/&auth=drazen HTTP/1.0
Host: youtube.com

HTTP/1.0 301 Moved Permanently
Date: Sun, 30 Jan 2011 11:15:29 GMT
Server: Apache
Location: http://www.youtube.com/signin?action_handle_signin=true&nomobiletemp=1&hl=en_US&next=/&auth=drazen
Content-Length: 387
Content-Type: text/html; charset=iso-8859-1
-------------------------------------------------------------------------------

as you can see Auth value (drazen) was sent.


Regards,
Drazen


I have double checked it, if I could send you the project because there is ALOT more code in the ocx..