Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Packet sniffing help

Packet sniffing help
Thread Tools
Mac Enthusiast
Join Date: Oct 2001
Status: Offline
Reply With Quote
Apr 3, 2002, 04:41 PM
 
Im trying to figure out how the program "CDCoverTool 1.0B5 OSX" (available on version tracker) is getting its album covers.
I downloaded a packet-sniffer (MacSniffer) to aid in my quest. It has told me that CDCoverTool is getting its images from amazon.com. With the help of the sniffer I also found a url which will send a querry to amazon.com.
http://www.amazon.com/exec/obidos/ex...tbuy-search-20

beastie+boys+licensed+to+ill is of course where one would type there specific search.

This url works fabulously in a browser. It however does not work in the terminal with curl.

Upon further sniffing, I found that the CDCoverTool was identifying itself as User-Agent "MinxFind" so I modified my curl command to do the same like this:

curl -A MinxFind "http://www.amazon.com/exec/obidos/external-search/?mode=music&keyword=beastie+boys+licensed+to+i ll&tag=cddb-txtbuy-search-20"

still no dice. Anyone have any ideas how I could get this to work?

btw. All of this is part of a program I am writing, hence the reason this post appears in 'developer'. If this post is misplaced, I appologise.
3R1C
     
Fresh-Faced Recruit
Join Date: Oct 2000
Location: Arlington, VA
Status: Offline
Reply With Quote
Apr 5, 2002, 02:43 PM
 
Originally posted by 3R1C:
<STRONG>Im trying to figure out how the program "CDCoverTool 1.0B5 OSX" (available on version tracker) is getting its album covers.
I downloaded a packet-sniffer (MacSniffer) to aid in my quest. It has told me that CDCoverTool is getting its images from amazon.com. With the help of the sniffer I also found a url which will send a querry to amazon.com.
http://www.amazon.com/exec/obidos/external-search/ ?mode=music&keyword=beastie+boys+licensed+to+i ll&tag=cddb-txtbuy-search-20

beastie+boys+licensed+to+ill is of course where one would type there specific search.

This url works fabulously in a browser. It however does not work in the terminal with curl.

Upon further sniffing, I found that the CDCoverTool was identifying itself as User-Agent "MinxFind" so I modified my curl command to do the same like this:

curl -A MinxFind "http://www.amazon.com/exec/obidos/external-search/?mode=music&keyword=beastie+boys+licensed+to+i ll&tag=cddb-txtbuy-search-20"

still no dice. Anyone have any ideas how I could get this to work?

btw. All of this is part of a program I am writing, hence the reason this post appears in 'developer'. If this post is misplaced, I appologise.</STRONG>
It works for me... try enclosing your url in single quotes.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 12:32 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2