About Me
Contact Me
Writings
Projects
Links
Disclaimer
|
CheepCheep
AbstractA program that locates a product for sale on the Internet for under $1 with no shipping cost. The IdeaThe idea for this program came from an XKCD comic. In the comic, a guy writes a program to search for an item on the Internet every day that costs, in total, less than $1. It purchases one product each day. With $365 for the year, he gets a new delivery each day, with no idea what might be in it. As demonstrated in the comic, this is not a good idea. So, what kind of junk does this script find? Click Here to find out. This list updates daily. If you are VERY lucky, you might find something you like. ImplementationThe original version of CheepCheep used Lynx to screen-scrape Google's shopping search. Every time Google changed their layout, it broke. Eventually, Google stopped allowing that kind of scraping completely, and CheepCheep stayed broken for years. After I received emails asking for it back, I rewrote it in November 2026. The new version is still PHP, but it uses eBay's free Browse API instead of scraping. Every day, it follows a simple algorithm:
I still have to filter. Many $1 listings are downloads, such as ebooks, printables, and SVG files, which are not something the mail carrier can bring. So, items with words like those in the title are skipped. Searching with words from the news makes for strange results. A headline about an election might turn up a campaign button from 1984. A headline about a storm might turn up a rain gauge. That is the point. The list still does not show images. To see a product, click its description. DownloadWant to create a CheepCheep site of your own? Want to make this script a hell of a lot better? Want to simply see what kind of cheap junk is for sale on the Internet? Download the program here. Note: the filename is "cc.txt", but you will want to save it as "cc.php". You will need your own eBay keys. They are free: sign up at developer.ebay.com, create a Production keyset, and put the App ID and Cert ID in a file named cc_config.php. The comments at the top of the script show exactly what that file looks like. Then, run "php cc.php" at the command line to see a list of products, including the name, price, and URL for each one. It will not automatically purchase the products. FAQThe following is a list of frequent questions that I receive (and the standard answers that I give.)
Others
With thousands of people reading the same XKCD comic, it is obvious that others have created their own versions of this program.
These are the ones I found over the years:
|
|
Copyright ©1998-2026 C. Shaun Wagner.
All rights reserved.
|