From: Lazaros Koromilas Date: Thu, 10 Nov 2016 17:04:47 +0000 (+0100) Subject: lyrics: lyrics area regex fix for LyricWikia X-Git-Tag: v0.26~82 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=7ea3e81b6a7dcefb1fb17aa50fe51e9ced6e61ea;p=ncmpc.git lyrics: lyrics area regex fix for LyricWikia --- diff --git a/NEWS b/NEWS index 982ab44..be3090b 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,6 @@ ncmpc 0.26 - not yet released * adapt to lirc 0.9.4 +* lyricswiki: update regex ncmpc 0.25 - (2016-08-18) * implement "%disc%" diff --git a/lyrics/20-lyricwiki.rb b/lyrics/20-lyricwiki.rb index dbb50a3..06681a0 100755 --- a/lyrics/20-lyricwiki.rb +++ b/lyrics/20-lyricwiki.rb @@ -44,7 +44,7 @@ url = $1 exit(69) if url =~ /action=edit$/ response = open(URI.parse(url)).read -if not response =~ /
\s*(.*?)\s*