downthemall / anticontainer

DownThemAll! AntiContainer (Extension to a Firefox, Seamonkey extension)
Mozilla Public License 2.0
93 stars 41 forks source link

REQUEST: fix for unofficial eBay plugin + perm add to AntiC.? #116

Open equate923 opened 8 years ago

equate923 commented 8 years ago

Hey Poke, thanks for your reply on the other thread! Per your request, here is the new ticket.

Link to the old, and now non-working, plugin: https://bugs.downthemall.net/ticket/1388

Example page (random page pulled today): http://www.ebay.com/itm/171686542371

When clicking on the gallery image on the left hand side of the item's title, the user is presented with a javascript pseudo pop-over / light-box to present the images along with back/forth arrows. The box closes on click/escape. In this case there are four images

http://i.ebayimg.com/images/g/~7kAAOSwHQ9WZdLb/s-l1600.jpg http://i.ebayimg.com/images/g/hSAAAOSw7FRWZdLe/s-l1600.jpg http://i.ebayimg.com/images/g/ZgYAAOSwp5JWZdLg/s-l1600.jpg http://i.ebayimg.com/images/g/x2oAAOSwv-NWZdLi/s-l1600.jpg

Ebay isn't really trying too hard to obfuscate the picture's URLs- one can download them individually from the light-box, or use "page info, media" in FF. But many auctions have 10+ images, so this gets tedious.

Mostly- but not always, ebay images are named the same: s-l1600.jpg As you can see the urls are different. However, I've see other formats as well: $57.jpg was used for quite some time and can still be found now and again- especially in auctions from ebay.fr, ebay.de, ebay.co.uk, etc.. But still, in most all cases the url is the different bit.

I defer to you... but I don't think the plugin would need to auto-rename the files before presenting the links to DTA. That's what the flat-curl option is for.

Thanks again!