-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Assets scraping #6
Comments
I actually started work on that the other day, I just need to wrap a few things up and then it's good push live. Keep an eye on the releases page! |
I just realized this was the wrong issue that I responded to the other day. I didn't mean to close it, my bad. @RayLuxembourg I'd like to add assets, but I'm not sure where I can scrape that information from. Any idea? |
@LartTyler if you are scraping kiranico every item should contain image assets. Example: https://mhworld.kiranico.com/armor/leather-headgear. They appear to be showing them in a div with a css background url. |
@LartTyler some more assets http://monsterhunter.wikia.com/wiki/Category:MHW_Images |
@cheng1994 Thanks for pointing that out, I definitely should have realized that sooner. That'll take care of armor and weapon images. @RayLuxembourg The wikia having weapon icons is fantastic, that should be easy enough to scrape. Between that and the material list link, that only leaves sourcing icons for consumables. |
@LartTyler Let me know what more we are missing i'll try to find sources. |
At this point, I think it's just icons for consumables, like ammo and potions. Not necessarily critical, and I can always just provide a placeholder icon or set the icon field to |
Preview images for armor are available in v1.6.0. There are a few issues with the data, caused by Kiranico having incomplete or incorrect information on the site, but it's stuff that I'm sure will be resolved over time. Weapon previews are next, followed by weapon icons. |
@LartTyler Thanks man! Great job! |
@LartTyler I know this is already completed and great work but may want to look into this site https://monsterhunterworld.wiki.fextralife.com/Alloy+Armor+Set Most of their images follow a pretty common naming convention, I actually was going to take your api and make a script to map images for weapons,armor and skills. Now they do have some odd cases where they use a base image for say all 3 levels of a weapon but that can be easily resolved. Also these images are transparent so it makes it easy to overlay into custom designs 😄 |
@kclay I don't actually consider this finished yet, I've got plans to add weapon images next. I didn't realize that fextralife had the images with transparent backgrounds though, so I may switch the API over to pull images from there instead. Thanks for pointing that out! |
Yes transparent bg images would be amazing!
…On Sun, Apr 15, 2018, 12:25 PM Tyler Lartonoix ***@***.***> wrote:
@kclay <https://github.com/kclay> I don't actually consider this finished
yet, I've got plans to add weapon images next. I didn't realize that
fextralife had the images with transparent backgrounds though, so I may
switch the API over to pull images from there instead. Thanks for pointing
that out!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#6 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AJvWkA4FotllptC-_DSWftFjrK_au7gLks5to56TgaJpZM4TCv3s>
.
|
@LartTyler I created this script for my personal use. The purpose of it was to restructure the data models for my needs( restructure slots and sharpness,element models). The For weapons it resolves the preview image and tries to find the most relevent image for each weapon variant (Bone Kuri 1-3 for example) Not sure if it would be possible to redo the datamodel a bit (you can see the example output by changing the file path) if thats possible (and I can open another issue) that would be perfect then I could use your api directly for searching rather then having to do it in memory. Anyways maybe this helps out a bit. Great work by the way. |
@kclay If there are other structure changes you'd like to discuss (aside from what we were talking about earlier in #13), feel free to open another issue. I can't promise the changes will happen, but I'd definitely be interested in hearing some ideas. As far as assets are concerned, I just finished writing a scraper for the fextralife wiki for #15, so once I've got my backlog knocked down some, I'm planning on finishing up assets for as many objects as possible. |
@LartTyler Just in case you haven't seen those amazing assets. they have proper transparent assets that can be displayed in any nice view. |
@RayLuxembourg Yep, I saw them. I'll be pulling those into the API once I knock my backlog down some, as well as using fextralife for weapon assets in the future. |
Is it possible add the assets when scrapping as well?
Most of the data on wiki comes with relevant assets.
If you need help with service like Amazon S3 let me know.
The text was updated successfully, but these errors were encountered: