@elecgnosis thank you friend, that is very useful.
Also take note that was not the latest version of the src as they are constantly changing the html. For this i will try making a json web source, as they have a json http://vgmdb.info/.
also you can try the JSON source (above download), it as few changes when html change (with this html change the artist will not appear but soon will be fixed)
Oh, I didn't know that they had another site (vgmdb.info) that can output the page in json format. That makes things easier for my personal vgmdb websource except some info (e.g. performers) is missing in the vgmdb.info page:
Yes the JSON version lacks the artist(performer), as when they change the html, the author of the JSON and XML, also have to change the scheme(it is a thing apart the VGMDB.NET, it is VGMDB.INFO), and the source it is based in his work, so we have to wait as i don't now Python.
JSON source: For Japanese name tracks just change the line 177 json_select "English" to json_select "Japanese", in the tracks part.
@retaliator For Japanese name tracks just change the line 177 json_select "English" to json_select "Japanese", in the tracks part.
Until i think a way better.
Running into a little problem with this latest version (not the JSON version) where it keeps pulling the Composer name (and therefore the 'artist' and 'album artist' since they're copied from that field) in kanji (lang="ja") instead of English (lang="en"); everything else seems to pull correctly, though.
I've been messing around with the code to see if I could figure it out, but unfortunately my regex knowledge is bollocks and I can't seem to make any headway.
Edit: managed to figure it out, looks like the syntax was just a little off. tested with a few pages and it seems to work. Attaching the fixed file below, hope that's okay with the dev?
Edit2: Upon some further testing, I'm still getting the occasional "</span>" stuck in the composer field. =( It seems to be pretty rare, but can't seem to find an easy way around it after some poking. Use the attached file at your own risk, and keep an eye out for random bits of code that might show up.
Another example site of the same bug with a random "</span>" getting pulled to the composer field. It looks like it specifically happens when the Composer field on the site has multiple artists in parenthesis, like "Hyd Lunch (Yasuyuki Matsuzaki, Hiroaki Watanabe)" or "Namco Tales Studio Ltd. (Motoi Sakuraba, Shinji Tamura)" in those two examples.
I guess because of the parenthesis there's an extra closing tag in the line that doesn't get purged, so it gets grabbed?
The script VGMdb#Search by &Album JSON.src is the only one that works for me, as all the others from the thread have been giving me blank track lists. However even with this one, it seems to break for the tracks on the second CD, like so: https://i.imgur.com/1qFVS1q.png
Any ideas on how to fix this?
The album I'm trying to process is https://vgmdb.net/album/1256
if the tracks appear blank, it is a Japanese names of tracks? if so just change the line 177 json_select "English" to json_select "Japanese", in the tracks part.
How do I add a new tag field for the Event name? For example:
The line is this, but I don't know how to parse it properly to just grab "M3-46" or "M3-2020 Fall"
<td><a title="View albums released on Oct 26, 2020" href="/db/calendar.php?year=2020&month=10#20201026">Oct 26, 2020</a><a class='link_event' rel='nofollow' title='M3-2020 Fall' href='/event/258'><span class='label'>M3-46</span></a> </td></tr>
I managed to get this working by placing this just after VGMD URL (though it slows the script down a bit). It seems to break depending on where it's inserted if there isn't an event listed (gives an and stops all scripts following it)..
Added event, try this: VGMdb#Search by &Album JSON.src (4.4 KB)
the arranger are in conductor tag.
The performer is the artist tag, if there is not performer then the composer goes to the artist tag.