c# - Weird "Next" link on ebay? -
I am working on the web scrapping app and it was testing with eBay. The thing is that the application should follow the "Next" link (at the bottom of the page which should go to the next page of the results), but it remains on the same page (yes, I'm really sure about it Not that) If you try to open ebay and search for any post that will result in multiple pages, and then either copy the "next" link and paste it on a new window or right click it and click on a new one Choose Open in Tab / Window, it will be on the same page. I tested it on Chrome and IE8, so my question is, what are these browsers doing, when they actually follow the link (when I click it) so that I can do this with my scrapping app? (Oh, and the way I am working on C #)
In the case of eBay Is just a general link (at least, for viewing), then the problem is probably with your code (are you collecting cookies for example?) From your description it seems that this is an AJAX request, which is " Under the hood "and gets XML from the server that is provided by JavaScript on the client side.
Traditionally, it is difficult to follow AJAX requests. In the case of eBay, however, I suggest using the interface that eBay has to ask questions for information. If you are building a generalized web crawler, then stay away from AJAX requests. Google does not bother much either.
Comments
Post a Comment