Add support for myspass.de

Signed-off-by: Guido Leisker <guido@guido-leisker.de>
Reviewed-by: Toni Gundogdu <legatvs@gmail.com>
tests: Add default/myspass.json

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
Merge branch 'tg/next/0.4_add_myspass' into next
FIX: gen-news.sh: Find the closest tagname

Replaces the buggy tagname extraction.

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
Add support for wdrmaus.de

Signed-off-by: Guido Leisker <guido@guido-leisker.de>
Tested-by: Toni Gundogdu <legatvs@gmail.com>
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>
tests: Add default/wdrmaus_*.json

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
Merge branch 'tg/next/0.4_add_wdrmaus' into next
wdrmaus.lua: fail if required properties cannot be parsed

Fail with an error of the required media properties {title,id,url}
could not be parsed. Do not set self.default (unused). Cleanup code
for improved readability.

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
FIX: gaskrank.lua: media stream URL pattern

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
gaskrank.lua: Parse thumbnail URL

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
tests: default: gaskrank.json: Add thumbnail_url property

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
FIX: 1tvru.lua: title and media URL patterns

Only some of the (archived?) videos seem to work (now?).

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
FIX: theonion.lua: thumbnail URL pattern

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
FIX: metacafe.lua: Key parsing

Some of the patterns were outdated due to the changes made to the
website.  Have the script extract the 'flashvars' value, unescape
it and then extract each individual value from this unescaped value.

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
FIX: lego.lua: All patterns

Modify the script to extract the media properties using new
patterns.

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
beeg.lua: Update title pattern

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
tests: default: theonion(_2).json: Update thumbnail_url

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
tests: default: break.json: Add thumbnail_url value

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
tests: default: metacafe.json: Update thumbnail_url

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>