From 7ea3e81b6a7dcefb1fb17aa50fe51e9ced6e61ea Mon Sep 17 00:00:00 2001 From: Lazaros Koromilas Date: Thu, 10 Nov 2016 18:04:47 +0100 Subject: [PATCH] lyrics: lyrics area regex fix for LyricWikia --- NEWS | 1 + lyrics/20-lyricwiki.rb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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*