Skip to content

Latest commit

 

History

History
52 lines (38 loc) · 2.01 KB

File metadata and controls

52 lines (38 loc) · 2.01 KB

This is a patched fork of the abandoned "eBay Seller Location" script: https://greasyfork.org/en/scripts/410587-ebay-seller-location

It displays the location of the eBay seller on eBay product pages (in the info box on the right) and on search results.

There is a high likelihood that occasionally the script will fail because the eBay server gets suspicious about too many http requests. The script tries to check location info one seller at a time to avoid this which makes it slow, and sometimes you may have to manually open eBay in a new tab and solve a captcha to get it to work again. Since there is no longer any unprotected eBay API, this natural side-effect of webcrawling is unavoidable.

GitHub repository: https://github.com/sonofevil/eBaySellerLocationFork

Changes to the original script (v0.1):

v1.2.4

  • Fixed several common errors when getting location info.

v1.2.3

  • Updated CSS selectors to account for changes to site code. Only tested on German Ebay.

v1.2.2

  • Updated seller info URL pattern.

v1.2.1

  • Updated selector.

v1.2

  • Skips requests for already known sellers.
  • Visible counter in bottom right corner informs about script progress.

v1.1

  • Completely reworked the code to load location info from html data after the old json API page was removed.
  • Search results loop is now completely asynchronous. No more simultaneous GET requests.
  • If present, seller location info is grabbed from item pages to avoid unnecessary requests.
  • Massive code cleanup.
  • Cures depression and removes pimples.
  • Todo: Add visible counter for search results processing.

v1.0

  • Optimized code.
  • Various fixes.
  • Updated selectors.
  • Now works on search results internationally.
  • Added delay to search results loop to prevent rate limiting.

v0.4

  • I don't remember.

v0.3

  • Script now also works on search results.

v0.2

  • Updated info box selector in line 34 to reflect changes to eBay site code.
  • Updated item-id selector in line 24 to reflect changes to eBay site code.
  • Changed url scope to hopefully cover all regional eBay domains.