Menu

#203 Title not found

closed-fixed
nobody
None
9
2007-10-02
2007-08-27
No

eBay changed their bid history page. This breaks esniper. The fix will take some time.

A workaround is to edit auction.c, search for GETINFO, and change ebay.com to ebay.ca. I have no idea how long this workaround will work.

Discussion

1 2 > >> (Page 1 of 2)
  • Leslie P. Polzer

    Logged In: YES
    user_id=181959
    Originator: NO

    confirmed.

     
  • Keith Hall

    Keith Hall - 2007-08-30

    Logged In: YES
    user_id=489132
    Originator: NO

    It's now finally broken on ebay.ca (and all the other ebay.xxx.xx's I tried) :(

     
  • Nobody/Anonymous

    Logged In: NO

    The workaround dont work anymore...

     
  • Anonymous

    Anonymous - 2007-08-30

    Logged In: YES
    user_id=441678
    Originator: YES

    Oh well, it fixed things for a couple of days! I'm a bit too busy to dig into this and make a fix right now. It might take a week or two, but I'll get it working again.

     
  • Nobody/Anonymous

    Logged In: NO

    Thanks for the nice tool and your voluntary work !

     
  • Philippe Teuwen

    Philippe Teuwen - 2007-08-30

    Logged In: YES
    user_id=433899
    Originator: NO

    Seems that this does not work anymore.

     
  • nick digger

    nick digger - 2007-08-31

    Logged In: YES
    user_id=1879866
    Originator: NO

    Quick'n'Dirty fix here, for history.c. Seems to work for regular-ass auctions, but I have no idea if it works for Dutch, or whatever-else. Not sure if posting the diff here will mess up its formatting, but you can figure it out.

    Enjoy. And dont any of you use this to snipe my targets! (oh yeah, you can change .ca back to .com)

    97a98,123
    > * Auction item
    > */
    > while ((line = getNonTag(mp))) {
    > if (!strcmp(line, "Item title:")) {
    > line = getNonTag(mp);
    > break;
    > }
    > }
    > if (!line) {
    > log(("parseBidHistory(): No title, place 2\n"));
    > return auctionError(aip, ae_notitle, NULL);
    > }
    > free(aip->title);
    > aip->title = myStrdup(line);
    > while ((line = getNonTag(mp))) {
    > char *tmp;
    >
    > if (line[strlen(line) - 1] == ':')
    > break;
    > tmp = aip->title;
    > aip->title = myStrdup2(tmp, line);
    > free(tmp);
    > }
    > printLog(stdout, "Auction %s: %s\n", aip->auction, aip->title);
    >
    > /*
    128,129c154,155
    < /*getTableCell(mp); /* end of "Time left:" cell */
    < /*getTableCell(mp); /* spacer */
    ---
    > getTableCell(mp); /* end of "Time left:" cell */
    > getTableCell(mp); /* spacer */
    131,132c157
    < aip->remainRaw = getNonTagFromString(getNonTag(mp));
    < /*aip->remainRaw = getNonTagFromString(getTableCell(mp));*/
    ---
    > aip->remainRaw = getNonTagFromString(getTableCell(mp));
    152a178,194
    > if (!(line = getNonTag(mp)))
    > return auctionError(aip, ae_nohighbid, NULL);
    > if (!strcmp("Reserve not met", line))
    > aip->reserve = 1;
    > else {
    > aip->reserve = 0;
    > /* start of header? Probably a purchase */
    > if ((foundHeader = !strncmp("Bidder", line, 6)) ||
    > (foundHeader = !strncmp("User ID", line, 7))) {
    > log(("ParseBidHistory(): found table with header \"%s\"\n", line));
    > /* get other headers to check them */
    > row = getTableRow(mp);
    > extraColumns += checkHeaderColumns(row);
    > freeTableRow(row);
    > }
    > }
    >
    470,514d511
    < /*
    < * Auction item
    < */
    < /*while ((line = getNonTag(mp))) {
    < if (!strcmp(line, "Item title:")) {*/
    < while ((line = getTag(mp))) {
    < if (!strncmp(line, "div class=\"BHitemTitle",22)) {
    < line = getNonTag(mp);
    < break;
    < }
    < }
    < if (!line) {
    < log(("parseBidHistory(): No title, place 2\n"));
    < return auctionError(aip, ae_notitle, NULL);
    < }
    < free(aip->title);
    < aip->title = myStrdup(line);
    < while ((line = getNonTag(mp))) {
    < char *tmp;
    <
    < if (line[strlen(line) - 1] == ':')
    < break;
    < tmp = aip->title;
    < aip->title = myStrdup2(tmp, line);
    < free(tmp);
    < }
    < printLog(stdout, "Auction %s: %s\n", aip->auction, aip->title);
    <
    < if (!(line = getNonTag(mp)))
    < return auctionError(aip, ae_nohighbid, NULL);
    < if (!strcmp("Reserve not met", line))
    < aip->reserve = 1;
    < else {
    < aip->reserve = 0;
    < /* start of header? Probably a purchase */
    < if ((foundHeader = !strncmp("Bidder", line, 6)) ||
    < (foundHeader = !strncmp("User ID", line, 7))) {
    < log(("ParseBidHistory(): found table with header \"%s\"\n", line));
    < /* get other headers to check them */
    < row = getTableRow(mp);
    < extraColumns += checkHeaderColumns(row);
    < freeTableRow(row);
    < }
    < }
    <

     
  • Nobody/Anonymous

    Logged In: NO

    I changed auction.c but i can't compile ... :-(

    ./configure:

    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking for gcc... gcc
    checking for C compiler default output file name... configure: error: C compiler cannot create executables
    See `config.log' for more details.

    config.log:

    #define VERSION "2.16.1"
    configure: exit 77

     
  • lsmod

    lsmod - 2007-08-31

    Logged In: YES
    user_id=1108869
    Originator: NO

    I altered auction.c and tried with gcc-3.3 and gcc-4.2

    ./configure:

    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking for gcc... gcc
    checking for C compiler default output file name... configure: error: C compiler cannot create executables
    See `config.log' for more details.

    config.log:

    #define VERSION "2.16.1"
    configure: exit 77

     
  • Knut Kohl

    Knut Kohl - 2007-08-31

    Logged In: YES
    user_id=1097418
    Originator: NO

    Hi nickdigger,

    against which version of history.c works this patch, don't work on CVS 1.4?!

    Could you uplaod your working history.c :-)?

    BTW ebay.in would still work, but the page is in UTF-8 and esniper can't determeine the bid...

    Regards,

    Knut

     
  • Anonymous

    Anonymous - 2007-08-31

    Logged In: YES
    user_id=441678
    Originator: YES

    kmalcher... probably a write permission problem in the directory where you are building.

     
  • Anonymous

    Anonymous - 2007-08-31

    Logged In: YES
    user_id=441678
    Originator: YES

    knutkohl... my guess it is a patch on version 1.2, which is the version released with 2.16.0 and 2.16.1.

     
  • nick digger

    nick digger - 2007-08-31

    Logged In: YES
    user_id=1879866
    Originator: NO

    2.16.1

    how do i upload a file?

     
  • Anonymous

    Anonymous - 2007-08-31

    Logged In: YES
    user_id=441678
    Originator: YES

    Use the "upload and attach file" link at the bottom of this page.

     
  • nick digger

    nick digger - 2007-08-31

    Logged In: YES
    user_id=1879866
    Originator: NO

    I dont have an Upload/Attach link, just a listing of attached files (none currently). Tried Netscape, Firefox & IE. Maybe it's a permissions issue?

     
  • Anonymous

    Anonymous - 2007-08-31

    Logged In: YES
    user_id=441678
    Originator: YES

    Strange, should be right at the bottom of the page. Maybe it's because I opened the bug? Email the file to me, I'll post it to this bug report.

     
  • Anonymous

    Anonymous - 2007-08-31

    nickdigger's modification of history.c

     
  • Anonymous

    Anonymous - 2007-08-31

    Logged In: YES
    user_id=441678
    Originator: YES

    Nickdigger's history.c added. I haven't tried it yet.
    File Added: history.c

     
  • knob-creek

    knob-creek - 2007-09-01

    Logged In: YES
    user_id=1001054
    Originator: NO

    Works with plain auctions on ebay.de, too.

    BTW: ebay has a SOAP based web service. Why don't we use that one?

     
  • Arkaic

    Arkaic - 2007-09-01

    Logged In: YES
    user_id=1245096
    Originator: NO

    Hrmm. When I recompile with the modified history.c, I still get "Title not found" errors. This is with version 2.16.1.

     
  • Markus Malkusch

    Markus Malkusch - 2007-09-01

    Logged In: YES
    user_id=822719
    Originator: NO

    Me too, I still have "Title not found" errors.

     
  • Anonymous

    Anonymous - 2007-09-01

    Logged In: YES
    user_id=441678
    Originator: YES

    knob-creek...

    I'd love to uses eBay's API, but in eBay's infinite wisdom they not only don't support automated bidding through their API, but they also restrict you from using screen scraping until the sun goes supernova (or you die, whichever comes last).

    Up until recently they didn't even support bidding in the API. Now they do, but with lots of restrictions. Click on the policies to find out that sniping is prohibited:

    http://developer.ebay.com/devzone/xml/docs/reference/ebay/PlaceOffer.html

    And here's their agreement. Take note of 2.2(b), which basically says once you enter into this agreement you can never screen scrape again, even if you leave the agreement. Doubt it would hold up in court, but I'm not about to find out.

    http://developer.ebay.com/join/licenses/individual/

     
  • nick digger

    nick digger - 2007-09-02

    Logged In: YES
    user_id=1879866
    Originator: NO

    Does it work for anybody? I d/l'd the file from here to verify it's the same one i sent Scott; recompiled, and it works for me still. Compiling from a fresh tarball?

     
  • Markus Malkusch

    Markus Malkusch - 2007-09-02

    Logged In: YES
    user_id=822719
    Originator: NO

    Yes I compiled a fresh unmodified tarball

     
  • Markus Malkusch

    Markus Malkusch - 2007-09-02

    Logged In: YES
    user_id=822719
    Originator: NO

    I mean except the exchanged history.c the tarball is unmodified. And it still doesn't work.

     
1 2 > >> (Page 1 of 2)

Log in to post a comment.