Sodom (Ger) => Does not retreive any lyrics
Sodom => Works fine in this case.
I now see that my previous attempt with Metal Archives failed because they seem to have my IP on a blacklist.
(my reward for doing lots of testing a couple of weeks ago)
I tried again (using a VPN), and I think I got it to work with band names + country.
name: Metal Archives
loader: search
variables:
artist:
type: artist
filters:
- [regex, '^(\w*\s?\w+)*(.*)', '$1']
config:
identity url: "(?<identity>https://www.metal-archives.com/albums/{artist}/.*?)[\"&]"
identity pattern: ['\n{title}.*?\n.*?id="song(?<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
Note that I removed the original regex line and replaced it with a new one.
The original line
should probably not be removed, but I don't know if you can have two regex lines in a yml, or that they could perhaps be combined into one somehow.
Hopefully somebody more experienced can clear that up.
So it's best to consider my attempt as a beta test that probably needs to be refined and improved by somebody who has better understanding of this stuff.
P.S.
So in hindsight, this was never about the Google yml?