In an earlier post i had posted the link to this site called songza.com which is a music search and play site.
With some quick analysis of the packet captures i found that its nothing more than a "pretty search wrapper over youtube".
Below is an HTTP request/response session that a search generated.
The HTTP Request to songza.com with my search query string "Kandukondain" was
GET /a/query?q=Kandukondain HTTP/1.1
Host: songza.com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.8) Gecko/20071022 Ubuntu/7.10 (gutsy) Firefox/2.0.0.8
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
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: 300
Connection: keep-alive
X-Requested-With: XMLHttpRequest
Referer: http://songza.com/
Cookie: __utmb=41883168; __utma=41883168.246409471.1194922056.1195069878.1195070278.7; __utmz=41883168.1194975040.4.2.utmccn=(referral)|utmcsr=n30bli7z.blogspot.com|utmcct=/|utmcmd=referral; __utmc=41883168
The HTTP response with the contents "GZIP encoded" was:
HTTP/1.1 200 OK
Date: Wed, 14 Nov 2007 20:06:09 GMT
Server: Apache/2.0.54
X-Powered-By: PHP/5.2.2
Vary: Accept-Encoding
Content-Encoding: gzip
Content-Length: 286
Keep-Alive: timeout=2, max=50
Connection: Keep-Alive
Content-Type: text/html
............QK.0....+.y^.MD.@...L....2J.d..iRb.R........6..r..{>.....r..r}...Lzq.M...C.D...-..&u...R.}i4....^...%.s.:I...;...E.L....b.......%.<f.."V.4F..T
.5...|..y.b.C-{.hI.s...;..{...[..FI ..jM+cX...
.M.
\......c.|y...p..J..&..\...2.Y..W...k... .E]...j...Ty.Q.....QKpj"Y....._....J...
The GZIP decoded data is as follows
As you can see, all the links are from youtube.
With some quick analysis of the packet captures i found that its nothing more than a "pretty search wrapper over youtube".
Below is an HTTP request/response session that a search generated.
The HTTP Request to songza.com with my search query string "Kandukondain" was
GET /a/query?q=Kandukondain HTTP/1.1
Host: songza.com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.8) Gecko/20071022 Ubuntu/7.10 (gutsy) Firefox/2.0.0.8
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
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: 300
Connection: keep-alive
X-Requested-With: XMLHttpRequest
Referer: http://songza.com/
Cookie: __utmb=41883168; __utma=41883168.246409471.1194922056.1195069878.1195070278.7; __utmz=41883168.1194975040.4.2.utmccn=(referral)|utmcsr=n30bli7z.blogspot.com|utmcct=/|utmcmd=referral; __utmc=41883168
The HTTP response with the contents "GZIP encoded" was:
HTTP/1.1 200 OK
Date: Wed, 14 Nov 2007 20:06:09 GMT
Server: Apache/2.0.54
X-Powered-By: PHP/5.2.2
Vary: Accept-Encoding
Content-Encoding: gzip
Content-Length: 286
Keep-Alive: timeout=2, max=50
Connection: Keep-Alive
Content-Type: text/html
............QK.0....+.y^.MD.@...L....2J.d..iRb.R........6..r..{>.....r..r}...Lzq.M...C.D...-..&u...R.}i4....^...%.s.:I...;...E.L....b.......%.<f.."V.4F..T
.5...|..y.b.C-{.hI.s...;..{...[..FI ..jM+cX...
.M.
\......c.|y...p..J..&..\...2.Y..W...k... .E]...j...Ty.Q.....QKpj"Y....._....J...
The GZIP decoded data is as follows
[
{ "id": "76nOCoQ2FKQ", "title": "Yenge Yenathu Kandukondain Kandukondain", "url": "http://www.youtube.com/watch?v=76nOCoQ2FKQ", "flv": "http://rd.cache.l.google.com/get_video?video_id=76nOCoQ2FKQ", "rating": "-1" },
{ "id": "TftTsber0y0", "title": "Kandukondain Kandukondain - kannamoochi", "url": "http://www.youtube.com/watch?v=TftTsber0y0", "flv": "http://rd.cache.l.google.com/get_video?video_id=TftTsber0y0", "rating": "-1" },
{ "id": "Y8XYNQR4AL8", "title": "kandukondain", "url": "http://www.youtube.com/watch?v=Y8XYNQR4AL8", "flv": "http://rd.cache.l.google.com/get_video?video_id=Y8XYNQR4AL8", "rating": "-1" },
{ "id": "i1bu_mdpZdc", "title": "palike gorinka-------priyuralu pilichindi", "url": "http://www.youtube.com/watch?v=i1bu_mdpZdc", "flv": "http://rd.cache.l.google.com/get_video?video_id=i1bu_mdpZdc", "rating": "-1" }
]
{ "id": "76nOCoQ2FKQ", "title": "Yenge Yenathu Kandukondain Kandukondain", "url": "http://www.youtube.com/watch?v=76nOCoQ2FKQ", "flv": "http://rd.cache.l.google.com/get_video?video_id=76nOCoQ2FKQ", "rating": "-1" },
{ "id": "TftTsber0y0", "title": "Kandukondain Kandukondain - kannamoochi", "url": "http://www.youtube.com/watch?v=TftTsber0y0", "flv": "http://rd.cache.l.google.com/get_video?video_id=TftTsber0y0", "rating": "-1" },
{ "id": "Y8XYNQR4AL8", "title": "kandukondain", "url": "http://www.youtube.com/watch?v=Y8XYNQR4AL8", "flv": "http://rd.cache.l.google.com/get_video?video_id=Y8XYNQR4AL8", "rating": "-1" },
{ "id": "i1bu_mdpZdc", "title": "palike gorinka-------priyuralu pilichindi", "url": "http://www.youtube.com/watch?v=i1bu_mdpZdc", "flv": "http://rd.cache.l.google.com/get_video?video_id=i1bu_mdpZdc", "rating": "-1" }
]
As you can see, all the links are from youtube.
4 comments:
I think Songza works only with YouTube and I had read something about one of their founders saying that too. You could check Seeqpod. They get you search results from a lot of places.
Cool Site !
Its interesting as to how people add another abstraction layer and reinvent the whole space over again.
You don't need to ANALYZE packets!!! All you need to do is to take a look at the firefox status bar while playing a song :-)
firebug does it too :)
Post a Comment