Hi, I thought I'd make a new topic for this to keep from cluttering up the LyricsReloaded thread.
Those who have read the latest in LR are aware that the search script for Metal Archives built-in to the LR DLL has been broken for a while due to changes made at their website. Plugin coder slonopot was able to supply a modified version of the LR DLL that allowed access again with a new separate YML file. However, soon after a "captcha" authorization puzzle was added by the site that defeated access by the plugin.
As can be seen in the last few posts over at the LR thread I have been in touch with a coder for an authorized API allowing search access, whose work was also stopped by the captcha with no explanation from the Metal Archives webmaster.
Anyway the "latest" is that I checked the Metallum site with the Firefox browser just now and found that the captcha has been removed/deactivated. Why and for how long is anybody's guess.
The site will now respond to lyrics searches made by the MB LyricsReloaded plugin, IF:
1. The modified version of mb_LyricsReloaded.dll as supplied by Slonopot is used, in place of the current 1.27 "stock" version by Mayibongwe:
https://mega.nz/file/HUh0SAja#OxRSTjddoX77Ny4EABRUtyl080IEaT1pRHWvMPwh4Xo2. A specific YML text file for the site is added to the LR "providers" folder:
name: Metal Archives Test
loader: search
variables:
artist:
type: artist
filters:
- [regex, '\s([\[\(].*?[\)\]])*$', '']
title:
type: title
filters:
- [regex, '\s([\[\(].*?[\)\]])*$', '']
config:
identity url: "https://www.metal-archives.com/search/ajax-advanced/searching/songs?songTitle={title}&bandName={artist}"
identity pattern: ['\[.*?"(<.*?>)*\s*({artist})\s*([\[\(].*?[\)\]])*(<.*?>)*".*?"(<.*?>)*\s*(?<album>.*?)\s*(<.*?>)*".*?"(<.*?>)*\s*(?<type>.*?)\s*(<.*?>)*".*?"(<.*?>)*\s*({title})\s*([\[\(].*?[\)\]])*(<.*?>)*".*?"(lyricsLink_(?<identity>.*?)\\".*?)?".*?\]', 'is']
lyrics url: "https://www.metal-archives.com/release/ajax-view-lyrics/id/"
lyrics pattern: ['(?<lyrics>.*)', 's']
post-filters:
- strip_html
- utf8_encode
- entity_decode
- clean_spaces
- trim
As mentioned before, this may all get sunk again a week from now or before I finish this post if the captcha comes back. For now, you know what I know. The script above does not require an album name be present, so it will work with radio stream metadata.