Return to Snippet

Revision: 13670
at May 1, 2009 18:34 by rowntreerob

Initial Code
$ wget --user-agent="Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; WOW64; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.0.04506; .NET CLR 1.1.4322; InfoPath.2)" -
d -Outub_2.xml ""

Setting --output-document (outputdocument) to utub_2.xml
DEBUG output created by Wget 1.11.3 on cygwin.

--2009-05-01 14:38:48--
Caching =>
Connecting to||:80... connected.
Created socket 4.
Releasing 0x00f80f88 (new refcount 1).

---request begin---
GET /get_video_info?&video_id=VFGVzt7c5bY HTTP/1.0
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; WOW64; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.0.04506; .NET CLR 1.1.4322; InfoPath.2)
Accept: */*
Connection: Keep-Alive

---request end---
HTTP request sent, awaiting response...
---response begin---
HTTP/1.1 200 OK
Date: Fri, 01 May 2009 21:38:49 GMT
Server: Apache
X-Content-Type-Options: nosniff
Expires: Tue, 27 Apr 1971 19:44:06 EST
Cache-Control: no-cache
Content-Length: 504
Keep-Alive: timeout=300
Connection: Keep-Alive
Content-Type: application/x-www-form-urlencoded

---response end---
200 OK
Registered socket 4 for persistent reuse.
Length: 504 [application/x-www-form-urlencoded]
Saving to: `utub_2.xml'

100%[======================================================================================================================>] 504         --.-K/s   in 0s


status=ok&author=macattck2533&title=Giant LEGO Boulder&muted=0&avg_rating=4.74888211382&video_id=VFGVzt7c5bY&length_seconds=89&vq=None&fmt_map=18/512000/9/0/115,34/0/9/0/115,5/0/7/0/0&token=vjVQa1PpcFO20YfQf-PC05xUFqFMJw-RffWDaQVHL1U=&thumbnail_url=,Boulder,Ball,LEGOS,Indiana,Jones,Indy,San,Francisco,Hill,Million,Funny&ftoken=&track_embed=0

Initial URL

Initial Description
first call gets token, second call uses token for the actual media

Initial Title
youtube - call 1 get token for video

Initial Tags

Initial Language