# \[WS\] Metal Archives

**URL:** https://community.mp3tag.de/t/ws-metal-archives/5923
**Category:** Web Sources Scripts
**Created:** [December 20, 2007, 2:52pm UTC](https://community.mp3tag.de/t/ws-metal-archives/5923 "2007-12-20T14:52:32Z")
**Posts on this page:** 20
**Page:** 3

<div class="post-metadata">

### Author: ![Brandon\_Storm](https://community.mp3tag.de/user_avatar/community.mp3tag.de/brandon_storm/32/417_2.png) [@Brandon\_Storm](https://community.mp3tag.de/u/Brandon_Storm)
#### Post date: [September 4, 2016, 1:34pm UTC](https://community.mp3tag.de/t/ws-metal-archives/5923/41 "2016-09-04T13:34:37Z")

</div>

> [@Herr. Schweden](#):
>
> Thank you, it works now!

Could you let me know what you did, or what program you used to edit the data? Maybe I'm doing something wrong, but it definitely didn't work for me.

---

<div class="post-metadata">

### Author: ![Herr1](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/h/aeb1de/32.png) [@Herr1](https://community.mp3tag.de/u/Herr1)
#### Post date: [October 11, 2016, 3:18pm UTC](https://community.mp3tag.de/t/ws-metal-archives/5923/42 "2016-10-11T15:18:11Z")

</div>

> [@Brandon Storm](#):
>
> Could you let me know what you did, or what program you used to edit the data? Maybe I'm doing something wrong, but it definitely didn't work for me.

I used Notepad++, and simply replaced the text string.

---

<div class="post-metadata">

### Author: ![slayerist](https://community.mp3tag.de/user_avatar/community.mp3tag.de/slayerist/32/4940_2.png) [@slayerist](https://community.mp3tag.de/u/slayerist)
#### Post date: [August 22, 2017, 9:13am UTC](https://community.mp3tag.de/t/ws-metal-archives/5923/43 "2017-08-22T09:13:50Z")

</div>

Hello all,

How can we modify dano's script so that it would also retrieve information fields such as 'genre' 'country of origin' ?

Thanks all

 ![](https://community.mp3tag.de/uploads/default/original/2X/f/f659b024ea948deea4704c77d81793df6a5d14bd.jpg)

---

<div class="post-metadata">

### Author: ![DaveyJones](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/e9a140/32.png) [@DaveyJones](https://community.mp3tag.de/u/DaveyJones)
#### Post date: [September 12, 2017, 10:56am UTC](https://community.mp3tag.de/t/ws-metal-archives/5923/44 "2017-09-12T10:56:08Z")

</div>

> [@slayerist](#):
>
> Hello all,
> 
> How can we modify dano's script so that it would also retrieve information fields such as 'genre' 'country of origin' ?
> 
> Thanks all

I've made a separate script based off of the original script, it receives Lyrical Themes, Country, Formation year and Status

[\_b\_Metal\_Archives\_\_\_Band\_Info.src](https://community.mp3tag.de/uploads/default/original/2X/e/e1d667ff53e4713719dee4809189b30cb903e552.src) (2.72 KB)

---

<div class="post-metadata">

### Author: ![slayerist](https://community.mp3tag.de/user_avatar/community.mp3tag.de/slayerist/32/4940_2.png) [@slayerist](https://community.mp3tag.de/u/slayerist)
#### Post date: [September 12, 2017, 11:04am UTC](https://community.mp3tag.de/t/ws-metal-archives/5923/45 "2017-09-12T11:04:36Z")

</div>

> [@DaveyJones](#):
>
> I've made a separate script based off of the original script, it receives Lyrical Themes, Country, Formation year and Status

Thank you very much sir ![:music:](https://community.mp3tag.de/uploads/default/original/1X/2ba05d1ade5eb0d15fc173be6f717dbe63890a70.gif ":music:")

I tried to edit your script to retrieve 'genre' field information with no luck

Since i don't know anything about coding the result ireturned with a error.

#GENRE  
outputto "Genre"  
findline "

Genre:"  
findline ""  
findinline ""  
sayuntil ""

...

---

<div class="post-metadata">

### Author: ![DaveyJones](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/e9a140/32.png) [@DaveyJones](https://community.mp3tag.de/u/DaveyJones)
#### Post date: [September 12, 2017, 2:45pm UTC](https://community.mp3tag.de/t/ws-metal-archives/5923/46 "2017-09-12T14:45:54Z")

</div>

> [@slayerist](#):
>
> Thank you very much sir ![:music:](https://community.mp3tag.de/uploads/default/original/1X/2ba05d1ade5eb0d15fc173be6f717dbe63890a70.gif ":music:")
> 
> I tried to edit your script to retrieve 'genre' field information with no luck
> 
> Since i don't know anything about coding the result ireturned with a error.
> 
> #GENRE  
> outputto "Genre"  
> findline "
> 
> Genre:"  
> findline ""  
> findinline ""  
> sayuntil ""
> 
> ...

Strange that it doesn't work, I just did that with mine and it seems to work, might be that my genre section is prior to lyrical themes.

[_b\_Metal\_Archives\_\_\_Band\_Info\_\_genre_.src](https://community.mp3tag.de/uploads/default/original/2X/2/2b9d5cb938c8ea6b27b09353b1d8b2b8c10b0c54.src) (2.83 KB)

---

<div class="post-metadata">

### Author: ![slayerist](https://community.mp3tag.de/user_avatar/community.mp3tag.de/slayerist/32/4940_2.png) [@slayerist](https://community.mp3tag.de/u/slayerist)
#### Post date: [September 13, 2017, 5:12am UTC](https://community.mp3tag.de/t/ws-metal-archives/5923/47 "2017-09-13T05:12:49Z")

</div>

> [@DaveyJones](#):
>
> Strange that it doesn't work, I just did that with mine and it seems to work, might be that my genre section is prior to lyrical themes.

Your order works .)

Thank you for your help

---

<div class="post-metadata">

### Author: ![DaveyJones2](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/a587f6/32.png) [@DaveyJones2](https://community.mp3tag.de/u/DaveyJones2)
#### Post date: [December 3, 2017, 2:17pm UTC](https://community.mp3tag.de/t/ws-metal-archives/5923/48 "2017-12-03T14:17:24Z")

</div>

May have forgotten my login but It's me DaveyJones again.

I've updated both scripts slightly.

Album Script now retrieves the ISRC from metal-archives

Band Script has had some frustrating amount of time put into it.  
It now shows a list of artists with a country and genre tag when searching (Similar to how album script does it.)  
It also now retrieves Location tag.

I'm still not really used to writing scripts for this especially when I'm adapting someone else's script but let me know if there's anything else that people want.

[\_a\_Metal\_Archives\_\_\_Search\_by\_Album.src](https://community.mp3tag.de/uploads/default/original/2X/c/cfb26f8f6ce26492d3937b1f6c71d456d7ebff5f.src) (5.46 KB)

[\_b\_Metal\_Archives\_\_\_Band\_Info.src](https://community.mp3tag.de/uploads/default/original/2X/3/3a29ab25fa74d40b9add69b3700ad243bf1d7b90.src) (3.49 KB)

---

<div class="post-metadata">

### Author: ![Ron\_Mark](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/r/c37758/32.png) [@Ron\_Mark](https://community.mp3tag.de/u/Ron_Mark)
#### Post date: [December 3, 2017, 5:42pm UTC](https://community.mp3tag.de/t/ws-metal-archives/5923/49 "2017-12-03T17:42:27Z")

</div>

> [@DaveyJones2](#):
>
> May have forgotten my login but It's me DaveyJones again.
> 
> I've updated both scripts slightly.
> 
> Album Script now retrieves the ISRC from metal-archives
> 
> Band Script has had some frustrating amount of time put into it.  
> It now shows a list of artists with a country and genre tag when searching (Similar to how album script does it.)  
> It also now retrieves Location tag.
> 
> I'm still not really used to writing scripts for this especially when I'm adapting someone else's script but let me know if there's anything else that people want.

Put this request out there at one point but it seemed to fall by the wayside and I am unable to figure it out myself...any assistance would be appreciated...

[New Script request OR assistance on modifying existing script](https://community.mp3tag.de/t/19513/1)

---

<div class="post-metadata">

### Author: ![anton](https://community.mp3tag.de/user_avatar/community.mp3tag.de/anton/32/16235_2.png) [@anton](https://community.mp3tag.de/u/anton)
#### Post date: [March 1, 2018, 2:13am UTC](https://community.mp3tag.de/t/ws-metal-archives/5923/50 "2018-03-01T02:13:09Z")

</div>

Hi! Good evening/night/day.

After watching this thread, and being inspired by both @dano and @DaveyJones2, I took the liberty to create a [Github repository](https://github.com/antonio-gil/Mp3Tag_WS_MetalArchives) with the original versions of the scripts, plus a couple of fixes.

I though that it could be great to have them available on Github because in that way we could collaborate improving them, and/or fixing things when (if) the MA layout changes.

I hope that it isn't an issue to @dano, and if its the case, please let me know.

Also any comments, suggestions, are welcome.

Regards!

---

<div class="post-metadata">

### Author: ![anton](https://community.mp3tag.de/user_avatar/community.mp3tag.de/anton/32/16235_2.png) [@anton](https://community.mp3tag.de/u/anton)
#### Post date: [March 24, 2018, 2:46am UTC](https://community.mp3tag.de/t/ws-metal-archives/5923/51 "2018-03-24T02:46:11Z")

</div>

A little update:

[FIX]: [Fetching Artist tag](https://github.com/antonio-gil/Mp3Tag_WS_MetalArchives/pull/1), as it was detected that the content of the artist/band wasn't on the expected location (thanks to [Melvinkooi](https://github.com/Melvinkooi) @ Github).

---

<div class="post-metadata">

### Author: ![slayerist](https://community.mp3tag.de/user_avatar/community.mp3tag.de/slayerist/32/4940_2.png) [@slayerist](https://community.mp3tag.de/u/slayerist)
#### Post date: [May 2, 2018, 2:09pm UTC](https://community.mp3tag.de/t/ws-metal-archives/5923/52 "2018-05-02T14:09:13Z")

</div>

Is there a way to implement those two scripts (both metal archive scripts by dano and modified by camzo) into one script?

One script retrieves informartion such country, year, info et. while the other script retrieves infos such as artist, album, band url etc.

Thanks in advanced,

[Files.zip](https://community.mp3tag.de/uploads/default/original/2X/9/9350d36e718aba9589876ed9df10496a2bd72c63.zip) (3.7 KB)

---

<div class="post-metadata">

### Author: ![anton](https://community.mp3tag.de/user_avatar/community.mp3tag.de/anton/32/16235_2.png) [@anton](https://community.mp3tag.de/u/anton)
#### Post date: [June 10, 2018, 7:41pm UTC](https://community.mp3tag.de/t/ws-metal-archives/5923/53 "2018-06-10T19:41:22Z")

</div>

Hi! Sorry for the late reply... Somehow I'm not getting the notifications on my email 🤔

Well, funny enough, I was just wondering the same just today... I'll take a look on how the scripts work to see what can be done.

Also, today I've made some minor updates to the scripts:

- Fixed Additional Info with additional HTML tags
  - There was a couple of HTML tags that were passed on. This fix removes them.

- Added extraction of Catalog ID
  - This is more a personal request, as I was working early on the morning with some Video Game soundtracks, and wondered if the extraction of the catalog could be done with MA as with VGMDB. Well, it seems that if can be done 🎉 .

---

<div class="post-metadata">

### Author: ![slayerist](https://community.mp3tag.de/user_avatar/community.mp3tag.de/slayerist/32/4940_2.png) [@slayerist](https://community.mp3tag.de/u/slayerist)
#### Post date: [November 23, 2018, 7:51am UTC](https://community.mp3tag.de/t/ws-metal-archives/5923/54 "2018-11-23T07:51:17Z")

</div>

The script created by dano on 2007-12-15 - modified by camzo on 11-09-2017 & 02-12-2017 returns an error

Could it be fixed? [\_b\_Metal\_Archives\_\_\_Band\_Info.src](https://community.mp3tag.de/uploads/default/original/2X/3/3a29ab25fa74d40b9add69b3700ad243bf1d7b90.src) (3.5 KB)

 ![Screenshot%20(5286)](https://community.mp3tag.de/uploads/default/original/2X/6/63638ce99c062441e3eccb58f7c03d93d224c87c.jpeg)

---

<div class="post-metadata">

### Author: ![anton](https://community.mp3tag.de/user_avatar/community.mp3tag.de/anton/32/16235_2.png) [@anton](https://community.mp3tag.de/u/anton)
#### Post date: [November 23, 2018, 2:24pm UTC](https://community.mp3tag.de/t/ws-metal-archives/5923/55 "2018-11-23T14:24:24Z")

</div>

Hi!

Well, that's weird... Have you tried access to MA through a web browser?

Anyway, if no one is available, I'll take a look into the script this weekend to see what could be the issue.

Best regards.

---

<div class="post-metadata">

### Author: ![slayerist](https://community.mp3tag.de/user_avatar/community.mp3tag.de/slayerist/32/4940_2.png) [@slayerist](https://community.mp3tag.de/u/slayerist)
#### Post date: [November 23, 2018, 2:40pm UTC](https://community.mp3tag.de/t/ws-metal-archives/5923/56 "2018-11-23T14:40:04Z")

</div>

Hi,

Thank you for your interest

There is no problem with the browser, all the sources attached work fine except **Me&tal Archives#Search by 01. Band\_NEW (album-country)**

Best regards,[Me&tal Archives#Search by 01. Band.src](https://community.mp3tag.de/uploads/default/original/2X/e/ec19c160631fdbcb65bc661fbf072e2183c371a9.src) (5.1 KB)  
[\_b\_Metal\_Archives\_\_\_Band\_Info.src](https://community.mp3tag.de/uploads/default/original/2X/3/3a29ab25fa74d40b9add69b3700ad243bf1d7b90.src) (3.5 KB)  
[Me&tal Archives#Search by 02. Album.src](https://community.mp3tag.de/uploads/default/original/2X/0/0e0d8bd5c5e319e551af3af329d8f5c10ae6ee37.src) (5.2 KB)  
[\_a\_Metal\_Archives\_\_\_Search\_by\_Album.src](https://community.mp3tag.de/uploads/default/original/2X/c/cfb26f8f6ce26492d3937b1f6c71d456d7ebff5f.src) (5.5 KB)  
[Me&tal Archives#Search by 03. Band Album.src](https://community.mp3tag.de/uploads/default/original/2X/e/e4d2365ff94de0841e1123dca078bdb559740660.src) (5.1 KB)  
[_b\_Metal\_Archives\_\_\_Band\_Info\_\_genre_.src](https://community.mp3tag.de/uploads/default/original/2X/2/2b9d5cb938c8ea6b27b09353b1d8b2b8c10b0c54.src) (2.8 KB)  
[Me&tal Archives#Search by 11Album.src](https://community.mp3tag.de/uploads/default/original/2X/1/1ccdda123d500ce744320655a30abb0dcd6ab02a.src) (5.3 KB)  
[Me&tal Archives#Search by 11Band Album.src](https://community.mp3tag.de/uploads/default/original/2X/d/d0acde5aa383522346ff31fb8f65426138c54690.src) (5.3 KB)  
[Me&tal Archives#Search by 11band.src](https://community.mp3tag.de/uploads/default/original/2X/e/ed72f3d7522272d0dadf037f6565c000d7de9d1f.src) (5.2 KB)  
[Me&tal Archives#Search by antonio\_Album.src](https://community.mp3tag.de/uploads/default/original/2X/3/36cc9b541476f0d5c05343160e34c3cfc6abe8bd.src) (5.2 KB)  
[Me&tal Archives#Search by antonio\_Band Album.src](https://community.mp3tag.de/uploads/default/original/2X/4/41563eb84c759f9e6d8ba054627514dbd89ada5f.src) (5.1 KB)  
[Me&tal Archives#Search by antonio\_Band.src](https://community.mp3tag.de/uploads/default/original/2X/c/c3a2690cc443586edf3f9de86adacef4f757f743.src) (5.1 KB)

---

<div class="post-metadata">

### Author: ![anton](https://community.mp3tag.de/user_avatar/community.mp3tag.de/anton/32/16235_2.png) [@anton](https://community.mp3tag.de/u/anton)
#### Post date: [November 25, 2018, 1:57am UTC](https://community.mp3tag.de/t/ws-metal-archives/5923/57 "2018-11-25T01:57:55Z")

</div>

Hi there!

@slayerist could you test the attached source? I've updated it, and done some (successful) tests, but I would like to know if it works on your side.

And by the way, about a [previous post](https://community.mp3tag.de/t/ws-metal-archives/5923/52) that you made while ago, since then I done some tests, but it seems that isn't possible to merge both functionalities into one, or at least I'm not aware on how to make it.

@DaveyJones2 it could be possible to add you script "Band Info" into the Github repository? What do you think?

(I ask for this particular script as is the same as the one that I'm attaching in this post)

Thanks in advance.

Regards.

[Me&tal Archives#Search by 01. Band\_NEW (album-country).src](https://community.mp3tag.de/uploads/default/original/2X/e/e91f693afd8c67b827159cf8b06c8ad1b182b6d1.src) (3.7 KB)

---

<div class="post-metadata">

### Author: ![slayerist](https://community.mp3tag.de/user_avatar/community.mp3tag.de/slayerist/32/4940_2.png) [@slayerist](https://community.mp3tag.de/u/slayerist)
#### Post date: [November 25, 2018, 8:58am UTC](https://community.mp3tag.de/t/ws-metal-archives/5923/59 "2018-11-25T08:58:44Z")

</div>

Thank you so much! It works flawlessly right now 😀

---

<div class="post-metadata">

### Author: ![MilesMetal](https://community.mp3tag.de/user_avatar/community.mp3tag.de/milesmetal/32/12268_2.png) [@MilesMetal](https://community.mp3tag.de/u/MilesMetal)
#### Post date: [September 19, 2022, 1:57pm UTC](https://community.mp3tag.de/t/ws-metal-archives/5923/60 "2022-09-19T13:57:57Z")

</div>

This is a bit of a long shot since it looks like the last time you posted here on the MP3tag forums was in 2018... but here goes!

Is it possible to update the script to pull disc number and the bonus track flag?

For example the last track on _[The Boats of the Glen Garrig](https://www.metal-archives.com/albums/Ahab/The_Boats_of_the_Glen_Carrig/513667)_ by Ahab is a bonus track and is denoted by an asterisk.

Looking in the HTML it's not included in the same string as the title but seems to be flagged separately.

HTML for the non-bonus track _To Mourn Job_ is

```auto
<td class="wrapWords">
To Mourn Job
</td>

```

HTML for the bonus track is

```auto
<td class="wrapWords bonus">
The Light in the Weed (Mary Madison)
</td>

```

Thanks 🙂

---

<div class="post-metadata">

### Author: ![anton](https://community.mp3tag.de/user_avatar/community.mp3tag.de/anton/32/16235_2.png) [@anton](https://community.mp3tag.de/u/anton)
#### Post date: [September 21, 2022, 8:33pm UTC](https://community.mp3tag.de/t/ws-metal-archives/5923/61 "2022-09-21T20:33:43Z")

</div>

Hello there!

Sorry for the late reply, I actually saw the notification email, but kinda forgotten about it and then it was buried by a dozen of other emails... My apologies!

Ok, so lets see...

For disc number you mean something like what's shown on [The Human Equation](https://www.metal-archives.com/albums/Ayreon/The_Human_Equation/41504) album? The "Disc 1", and "Disc 2" indicators?

And, for the bonus track "flag" (i.e., the asterisk), do you have something in mind about what the script should do with that one?

As far as I remember, as I haven't touched the code in a while (several things have happened in this last 5 years, and a I left lot of things unfinished/or that I completely forgot about), I think that the script creates/uses some customized tags, so ~~at~~ right now I can think that, if it's possible to get that info in a reliable way, the script could be creating a new custom tag to store that value (is possible, or course), but that's only a first idea.

So, let me know what you think, and/or your comments.

Kind regards.

Edit: I did small correction, but, nonetheless, my apologies for my (probable) horrible grammar _here and there_

[Previous page](https://community.mp3tag.de/t/ws-metal-archives/5923.md?page=2)

[Next page](https://community.mp3tag.de/t/ws-metal-archives/5923.md?page=4)
