Name Correction

Hi All,

I am not familiar with the Web-Source scripts. I tried to write one, but it crashes MP3Tag. Probably it is a bad script.

However, my problem is very simple.

I have the composers' name using the English character set in field %composer%.

For example:
Antonin Dvorak

I would like to get the original (unicode) spelling from the English Wikipedia.

My goal:
Antonín Dvořák

The good spelling looks like this in the source of the Wikipedia page:

Antonín Dvořák

This line appears once in the page.

The URL is: http://en.wikipedia.org/wiki/Antonin_Dvorak (spaces converted to underscore).

I think it needs a very simple script, but I'm unable to write a good one.

Would you help me? :smiley:

Thank you in advance.

I try to make one for musicbrainz too which brings sort name along

# Mp3tag (2.38 or higher) Parsing for Wikipedia by dano
# Save it in your Mp3tag data directory, 
# e.g. C:\Documents and Settings\*username*\Application Data\Mp3tag\data\sources
#
#	DO NOT COPY/MODIFY AND REDISTRIBUTE THIS WITHOUT PERMISSION
#
#
#
[Name]=Wikipedia Artist Spelling
[BasedOn]=en.wikipedia.org
[AlbumUrl]=http://en.wikipedia.org/wiki/%s
[WordSeperator]=_
[SearchBy]=%artist%

[ParserScriptAlbum]=...
# ###################################################################
#					A  L  B  U  M
# ###################################################################
#debug "on" "C:\debug_Wikipedia_B.html" "20"

outputto "Artist"
findline "<h1 class=\"firstHeading\">"
findinline "<h1 class=\"firstHeading\">"
sayuntil "</h1>"

It works! :smiley: Thank you very much. Maybe I will create other useful things using this simple method.
(outputto was in wrong place in my original bad script. Stupid me.)