Script needed to auto-shop at Dell Outlet

Posted on 2005-04-24
Last Modified: 2011-09-20
There'a a thread on about a Dell deal...
"30% off select refurbished Dimension or Inspiron at Dell Outlet"

In the thread there are several mentions of people running a script to auto select Dell systens based on the price / model / features they pass to their script. Then in some cases the script pushes the item into their shopping cart.

There is an example posted in the thread (search for proxy) that uses Proxomitron to do this. But others say they've written similar scripts to do this using XUL or C++.

Now speed is of the essence here. as items are quickly taken by people as soon as Dell offers them up for sale (which happens hourly). So with that in mind how would you write a fast script (that refreshes frequently) to auto shop at Dell Outlet?

Oh and here's an example of the kind of deal scripters are  getting...

Dell notebook: Inspiron  9300 PM-1600 Windows XP Home 17 80 G (I) 5400RPM 256 CDRW 64MB Radeon X300 ETH-0  Price $649 less 15% off

Question by:veedar
    1 Comment
    LVL 1

    Accepted Solution

    You can use following script to get the HTML data from dell  and parse the code for

     --------------------------------snip for

    ## Create a user agent object
    use LWP::UserAgent;
    $ua = LWP::UserAgent->new;
    $ua->agent("MyApp/0.1 ");
    $ua->proxy('http', "");

    #Opens the urlfile.txt to get the URLS.
    open(HND, "./urlfile.txt") || die " Can't open file : $!";
    chomp(@arr = <HND>);

    # print all the URLS content.
    my $url;
    for$url ( @arr) {
            print "Getting $url =======================================\n";
            print "====================================================\n";
            my $res = $ua->post($url);

            if( $res->is_success ) {
                    print $res->content;
            } else {
                    print "Unable to get $url\n";

            print "\n";


    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    Suggested Solutions

    Title # Comments Views Activity
    why to use string 10 53
    zeroFront challenge 7 58
    thread-safe code in c++ 2 58
    for loop with Set 4 38
    RIA (Rich Internet Application) tools are interactive internet applications which have many of the characteristics of desktop applications. The RIA tools typically deliver output either by the way of a site-specific browser or via browser plug-in. T…
    This is about my first experience with programming Arduino.
    Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
    In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now