diff options
author | jao <jao@gnu.org> | 2015-05-18 20:53:05 +0200 |
---|---|---|
committer | jao <jao@gnu.org> | 2015-05-18 20:53:05 +0200 |
commit | 997ad273b769519929ef71c25dc27147036fd9f1 (patch) | |
tree | 13f5d7c2cdbb0add52c4180dedf25f15eb4c301c | |
parent | 0e55c8bad8d3a2491fbd12cf41327a478b885796 (diff) | |
download | elibs-997ad273b769519929ef71c25dc27147036fd9f1.tar.gz elibs-997ad273b769519929ef71c25dc27147036fd9f1.tar.bz2 |
Fix for lyrics script
-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 |