Miorey / wow-model-viewer

A library for displaying interactive 3D models of World of Warcraft characters, items, and NPCs on your website using data from Wowhead. Customize the display with control over camera angles and animation.
https://miorey.github.io/wow-model-viewer/
56 stars 32 forks source link

Download static files from zamimg #48

Closed Friskes closed 6 months ago

Friskes commented 6 months ago

Hi, is there a way to download an archive with static files somewhere that is requested from the site zamimg ?

Miorey commented 6 months ago

Hi @Friskes , Nope there is no way to do it, please take a look to cors policies section.

Friskes commented 6 months ago

It's sad because a month ago zamimg changed its api and I had to edit my code, I would like to be completely independent from the zamimg static server and have all the files locally, https://frishub.ru/dressing-room/

Helias commented 6 months ago

I understand, but it's not empty, anyways, a good start would be use this https://github.com/Mugen87/three-m2loader or the wow.tools source code

Miorey commented 6 months ago

You can loop on all the items and use bypass policies app, which store the files after the first call. However, I suggest avoiding this approach because your storage server risks being blacklisted by Wowhead. If you have many customers, your files will be stored over time and achieve more or less same result.

Miorey commented 6 months ago

I close this issue as is not directly related to the lib.
@Friskes Good Luck in your quest !