solaasan / Touhou-Music-Database

Database useful for reverse searching touhou music
https://touhou-music-database.vercel.app
MIT License
8 stars 1 forks source link

How did you get touhou-music.db? #6

Open sunrosa opened 8 months ago

sunrosa commented 8 months ago

I can only assume you got it from touhoudb.com, but I don't see any database downloads on their site. Did you scrape it? I'm asking because I want to continuously update the database file with upstream changes, and it appears the one in this repo is 6 months old as of now.

If you generated it yourself, is it done with code in this repo or somewhere else? I'm happy to run whatever scripts you ran to generate this database locally.

Tetrokun commented 8 months ago

I'm also interested in this, I'm working on a project to map covers to collections of source songs in Plex. @sunrosa there is a web API that touhoudb.com has, it can't be too hard to query if you want live data.

solaasan commented 8 months ago

Fair enough question, sorry for the delayed response just saw this now.

Honestly scraping a number of resources online, going through local metadata in my own collection and normalizing the data between various soures. Some sanity checking and efforts to avoid duplication and notice conflicting data otherwise, nothing too fancy. Above all I am trying to consolidate partial data between a few places into one single easy to query source.

While I've tried to do so in a sanely rate limited way, some the code there was rather rough. I've got a newer iteration that I'm trying to include some more metadata in so that might get tidied up and thrown into this repo at some point. Just been slacking there