Subject: | VWD.pm changed again |
After a small update of VWD aka finanztreff.de site the VWD module needs
to be fixed again.
Attached is a patch against version 1.17 to get VWD.pm working as of today.
Subject: | VWD.pm.diff |
47c47
< $VERSION = '1.17';
---
> $VERSION = '1.17patched';
125c125
< # <h1> contains price, time, name, and symbol
---
> # <h1> or <h2> contains price, time, name, and symbol
126a127
> $head = $content->find("h2") if not $head;
129c130
< my $wpkurs = $head->look_down(
---
> my $wpkurs = $content->look_down(
138,139c139,140
< if ($time) {
< $info{$fund, "time"} = $time->as_trimmed_text;
---
> if ($time->as_trimmed_text =~ /([012]\d:[0-5]\d:[0-5]\d)/) {
> $info{$fund, "time"} = $1;