Current location: Hot Scripts Forums » General Web Coding » HTML/XHTML/XML » Script to search on amazon without AWS


Script to search on amazon without AWS

Reply
  #1 (permalink)  
Old 11-29-06, 03:19 PM
gruimed gruimed is offline
New Member
 
Join Date: Nov 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Script to search on amazon without AWS

I'd like to write some very simple script (and in order to keep it simple I'd like to avoid using Amazon Web Services). All this script has to do is to perform a search for an Amazon Auctions member on the following pages

http://s1.amazon.com/exec/varzea/sub...038245-4377448

It seems that a simple script that does an HTPP POST would be enough (after all this is what the browser does), yet somehow it does not work. The only difference between the HTTP POST sent by the browser and by the script seem to be at the end:

http://s1.amazon.com/exec/varzea/ae-...301183-8462203
POST /exec/varzea/ae-nickname-search/058-3301183-8462203 HTTP/1.1
Host: s1.amazon.com
...
Content-Type: application/x-www-form-urlencoded
Content-Length: 41
exchange-type=auction&seller=san&x=31&y=7


Any ideas ?

Thanks
Edit/Delete Message
Reply With Quote
  #2 (permalink)  
Old 12-04-06, 11:39 AM
Shaffer Shaffer is offline
Wannabe Coder
 
Join Date: Sep 2006
Location: Israel
Posts: 149
Thanks: 0
Thanked 0 Times in 0 Posts
Contact me @ shaffer@typrom.com for further assistance. This script is no peace of cake. I'll see what I can do for you. If it's not hard, all I require is a copyright.
__________________
Hello from Israel!
Reply With Quote
  #3 (permalink)  
Old 12-05-06, 10:23 AM
GO4TF4CE's Avatar
GO4TF4CE GO4TF4CE is offline
Wannabe Coder
 
Join Date: Apr 2004
Posts: 223
Thanks: 0
Thanked 0 Times in 0 Posts
Red face

You could try this

Copy the code into notepad or your html editor and save as test.html then simply run it.

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
</head>

<body>
<form id="form1" name="form1" method="get" action="http://www.amazon.co.uk/s/ref=nb_ss_w_h_/203-3132587-4874365">
  <input name="field-keywords" type="text" id="field-keywords" />
  <input type="submit" name="Submit" value="Search" />
</form>
</body>
</html>
are you trying to do this via xmlhttp??
__________________
Intelligence is not knowledge, but the way we use our knowledge.

Last edited by GO4TF4CE; 12-05-06 at 10:26 AM.
Reply With Quote
  #4 (permalink)  
Old 12-06-06, 09:08 AM
Shaffer Shaffer is offline
Wannabe Coder
 
Join Date: Sep 2006
Location: Israel
Posts: 149
Thanks: 0
Thanked 0 Times in 0 Posts
First of all, it's called copyright.
Second, how do you know that the form parameter's names are correct? I doubt they appear in the source code.
__________________
Hello from Israel!
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting 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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Run Your Own Profitable and VERY unique eBusiness Voltaire General Advertisements 3 03-30-10 06:36 AM
Raffle/Lottery Script (Very profitable!), Coded it myself. Voltaire General Advertisements 6 03-16-09 07:15 AM
Php Search Script re write fourbaht Job Offers & Assistance 5 06-18-06 06:17 PM
Filename Search Script epheterson Script Requests 8 12-17-04 02:37 PM
SEO Expert Available nakulgoyal Job Offers & Assistance 2 08-14-04 12:38 PM


All times are GMT -5. The time now is 08:56 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.