Correction restitution URL source

master
Julien Rosset 1 year ago
parent 7efd79fc3e
commit 9c45b474dd

@ -705,7 +705,7 @@ EOF
case '': case '':
if (preg_match('`^Original\s+source\s*:\s*.+href\s*=\s*"(?<url>[^"]+)"`i', $match['value'], $matchUrl) === 1) { if (preg_match('`^Original\s+source\s*:\s*.+href\s*=\s*"(?<url>[^"]+)"`i', $match['value'], $matchUrl) === 1) {
$metadata->source = $matchUrl['url']; $metadata->url = $matchUrl['url'];
} }
elseif (preg_match('`^Exported\s+with`i', $match['value']) !== 1) { elseif (preg_match('`^Exported\s+with`i', $match['value']) !== 1) {
$metadata->summary = $match['value']; $metadata->summary = $match['value'];

Loading…
Cancel
Save