- if ($e->[0] =~ m|\.addVariable\("file",\s*"([^\x22]+)"\)|) {
- $metadata->{'DLURL'} = $1;
+ if ($e->[0] =~ m|var googleCode = '([^\x27]+)'|) {
+ my $c = $1;
+
+ $self->debug("Found obfuscated code: %s", $c);
+ my $d = decode_base64($c);
+ $self->debug("Decoded to: %s", $d);
+
+ if ($d =~ m|\.addVariable\("file",\s*"([^\x22]+)"\)|) {
+ $metadata->{'DLURL'} = $1;
+ }