diff options
-rwxr-xr-x | emms/lyricwiki.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/emms/lyricwiki.rb b/emms/lyricwiki.rb index db7b970..f163fa4 100755 --- a/emms/lyricwiki.rb +++ b/emms/lyricwiki.rb @@ -43,7 +43,8 @@ if not response =~ /<div class='lyricbox'>\s*(.*?)\s*<!--/im exit(1) end -if not $1 =~ /^.*<\/div>(.*?)$/im +# if not $1 =~ /^.*<\/div>(.*?)$/im +if not $1 =~ /^.*<\/script>(.*?)$/im $stderr.puts "Couldn't remove leading XML tags in lyricbox!\n" exit(1) end |