Above is a top/bottom example of both templates together in action. At any time you may be directed to one or the other. Full multi-lingual support is of course 100% operational as well.<speechles> !e egg
<sp33chy> 10446 Auctions | 88+12 Brown XLD1 Coturnix Quail Hatching, $6.99($15.00), 0 Bids, 39m @ http://cgi.ebay.com/_W0QQItemZ180283735618 | 6 MOTTLED BLACK TURKEY HATCHING EGGS, $15.50($12.00), 6 Bids, 29m @ http://cgi.ebay.com/_W0QQItemZ370081106690 | 6 "RARE" CHOCOLATE TURKEY HATCHING EGGS, $12.50($12.00), 3 Bids, 19m @ http://cgi.ebay.com/_W0QQItemZ370081104521
<speechles> !e .co.uk egg
<sp33chy> 6,222 matches | MODERN HANDMADE NATURAL WOOL RUG duck eg, £49.99(+£7.99), Buy It Now, 37m @ http://cgi.ebay.co.uk/_W0QQItemZ370081688160 | MODERN,WOOL,BROWN & DUCK EGG BLUE DAMASK, £58.99(+£11.95), 1 Bid , 44m @ http://cgi.ebay.co.uk/_W0QQItemZ370079770996 | A++ 2 pcs RARE Dinosaur BONE + EGG SHEL, £5.19(+£9.29), 1 Bid , 55m @ http://cgi.ebay.co.uk/_W0QQItemZ150287227642
The new ebay template is now included and 100% functional. There may slight problems with some items I've not run across yet. Adding this new template added new abilities to this script that were required. First off, you have an entirely new debug line as shown above. This includes cookie handling (which ebay requires for some servers) and now this script can intelligently redirect and supports full cookie handling. The redirects are recursive of sorts without endless looping, so can handle an infinite number which the debug output will diligently report to your debugnick (for example, ebay italy requires 3-5 redirects with full cookie support before any html will be revealed [see quote below]). This will be needed when adding full support for iGN later, they require cookies as well and more than a single redirect. This can now easily be accommodated for with the added abilities.<speechles> !e .co.uk egg
<sp33chy> redirected (302): http://search.ebay.co.uk/egg_W0QQpqryZegg -> http://shop.ebay.co.uk/items/_W0QQ_nkwZ ... omZQQ_mdoZ :: cookie: ebay=%5Ecompare-items%3D%7Edomain%3D.ebay.co.uk%7E%5E; Domain=.ebay.co.uk; Path=/ns1=BAQAAARwLwlp8AAaAANgAQ0qcfohjNjN8NTE1XjEyMjAyMzM5OTIyMDBeMF5eMF4zMjAxMjAwYThiMDVeM14yMV41MF4yXjNeM14yXjFeMF4xXjBeMF4wi5OZz9LVANqJjDWOkfH+Lgyp7ak*; Domain=.ebay.co.uk; Expires=Tue, 01-Sep-2009 01:53:
<sp33chy> url (200): http://shop.ebay.co.uk/items/_W0QQ_nkwZ ... omZQQ_mdoZ charset: iso8859-1 encode_string: iso8859-1 :: cookie: ebay=%5Ecompare-items%3D%7Edomain%3D.ebay.co.uk%7E%5E; Domain=.ebay.co.uk; Path=/ns1=BAQAAARwLwlp8AAaAANgAQ0qcfohjNjN8NTE1XjEyMjAyMzM5OTIyMDBeMF5eMF4zMjAxMjAwYThiMDVeM14yMV41MF4yXjNeM14yXjFeMF4xXjBeMF4wi5OZz9LVANqJjDWOkfH+Lgyp7ak*; Domain=.ebay.co.uk; Expires=Tue, 01-Sep-2009 01:53:12 GMT; Pa
The only broken functions will be both related to gamespot. With their recent addition of ajax programming it is too difficult to attempt to scrape their search results any longer. Therefore, you will find both !game and !review always return the same static message stating no results found. This is not a bug nor a misfeature. Simply put, this fox has been outsmarted.
Without further delay, you can get the new script HERE or the 1st page of this thread. There may some inconsistencies with ebay at the moment because of it's new template. You may also notice that some sites now work that refused to before. Credit this entirely to the redirect and cookie support.
Jumping through hoops is not a problem. It just takes a little bit longer to get there.. heh<speechles> !e .it subato
<sp33chy> redirected (302): http://search.ebay.it/subato_W0QQpqryZsubato -> http://shop.ebay.it/cqtranslate/_W0QQ_n ... omZQQ_mdoZ :: cookie: ebay=%5Ecompare-items%3D%7Edomain%3D.ebay.it%7E%5E; Domain=.ebay.it; Path=/ns1=BAQAAARwLwlp8AAaAANgARkqchSdjNjZ8NTE1XjEyMjAyMzU2ODczMzVeMF5eMF4zYTAxMjEwODhhMDdeM14wXjUwXjJeNV41XjReM14yXjFeMF4xXjBeMF4wCqSCuKOL2aiEAbYKksGbJk2CmS0*; Domain=.ebay.it; Expires=Tue, 01-Sep-2009 02
<sp33chy> redirected (302): http://shop.ebay.it/cqtranslate/_W0QQ_n ... omZQQ_mdoZ -> http://shop.ebay.it/items/__subato_W0QQ_nkwZsubato :: cookie: ebay=%5Ecompare-items%3D%7Edomain%3D.ebay.it%7E%5Ecv%3D15555%5E; Domain=.ebay.it; Path=/ns1=BAQAAARwLwlp8AAaAANgARUqchShjNjV8NTYzXjEyMjAyMzU2ODgxMTleXjFeM3wyfDUwfDR8NXwxMXw3fDQzXjFeMl40XjJeMTJeMTJeMl4xXjFeMF4xXjDKhmQHwjiMXaAKVCRD2rGGj2R25A**; Domain=.ebay.it; Expires=
<sp33chy> redirected (302): http://shop.ebay.it/items/__subato_W0QQ_nkwZsubato -> http://shop.ebay.it:80/items/___W0QQ_nkwZsubato :: cookie: ebay=%5Ecompare-items%3D%7Edomain%3D.ebay.it%7E%5Ecv%3D15555%5E; Domain=.ebay.it; Path=/ns1=BAQAAARwLwlp8AAaAANgARUqchShjNjV8NTYzXjEyMjAyMzU2ODg0ODVeXjFeM3wyfDUwfDR8NXwxMXw3fDQzXjFeMl40XjJeMTJeMTJeMl4xXjFeMF4xXjDh+sljWM2yyj5len0DsLaIjYEVCw**; Domain=.ebay.it; Expires=Tue, 01-Sep-2009 02:21:28
<sp33chy> redirected (302): http://shop.ebay.it:80/items/___W0QQ_nkwZsubato -> http://shop.ebay.it/items/subito_W0QQ_n ... uscZsubato :: cookie: ds2=alss/0.subato48bca328^; Domain=.ebay.it; Path=/ebay=%5Ecompare-items%3D%7Edomain%3D.ebay.it%7E%5Ecv%3D15555%5E; Domain=.ebay.it; Path=/ns1=BAQAAARwLwlp8AAaAANgARUqchShjNjV8NTYzXjEyMjAyMzU2ODg1NjNeXjFeM3wyfDUwfDR8NXwxMXw3fDQzXjFeMl40XjJeMTJeMTJeMl4xXjFeMF4xXjAjyY
<sp33chy> url (200): http://shop.ebay.it/items/subito_W0QQ_n ... uscZsubato charset: iso8859-1 encode_string: iso8859-1 :: cookie: ds2=alss/0.subato48bca328^; Domain=.ebay.it; Path=/ebay=%5Ecompare-items%3D%7Edomain%3D.ebay.it%7E%5Ecv%3D15555%5E; Domain=.ebay.it; Path=/ns1=BAQAAARwLwlp8AAaAANgARUqchShjNjV8NTYzXjEyMjAyMzU2ODg1NjNeXjFeM3wyfDUwfDR8NXwxMXw3fDQzXjFeMl40XjJeMTJeMTJeMl4xXjFeMF4xXjAjyYvToUyldchz4VWOU8
Some people might complain about google not working. For those I suggest you take a look at the debug output. If you see url (403): displayed along with google's sorry page and showing an empty cookie field. You will need to visit HERE and do what it suggests. Eventually I will add a method to inject google cookies into this script. So that you can use a browser on the same machine to generate the cookie and pass the captcha requirements. Then this script will read that same cookie into itself and use it to pass authentication and avoid this sorry page. Until then the 403 error if displayed means google is blocking your bot and this script from working.
Other than that, Enjoy, and most importantly.. have a fun