wdrmaus.lua: fail if URL path patterns do not match
commit03f4cce8245467812f362cf4b8b65a24e49f7a7c
authorToni Gundogdu <legatvs@gmail.com>
Thu, 3 Jan 2013 12:07:56 +0000 (3 14:07 +0200)
committerToni Gundogdu <legatvs@gmail.com>
Thu, 3 Jan 2013 17:02:18 +0000 (3 19:02 +0200)
tree7e42a23ecee17371e4786a130f4b5974427945d4
parent86d1c641ebd52f16546c46dd35cc60035adfef06
wdrmaus.lua: fail if URL path patterns do not match

Have the script raise an error if none of the URL path patterns.
Otherwise the users will only get a cryptic error about missing
media property values.

Other:
* Set "fetch_type=config" for quvi.fetch(non-page_url) calls
* Replace if-elseif -block with a lookup table
* Trim a long line to fit 72 chars
* Remove an extra newline

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
share/lua/website/wdrmaus.lua