Force single-page view in Hathi Trust URLs

This commit is contained in:
Alex Cabal 2024-02-12 13:58:48 -06:00
parent 11a3b9b8a8
commit 90dcef216f

View file

@ -585,7 +585,7 @@ class Artwork extends PropertiesBase{
throw new Exceptions\InvalidPageScanUrlException($url, $exampleUrl);
}
$outputUrl = 'https://' . $parsedUrl['host'] . $parsedUrl['path'] . '?id=' . $vars['id'] . '&seq=' . $vars['seq'];
$outputUrl = 'https://' . $parsedUrl['host'] . $parsedUrl['path'] . '?id=' . $vars['id'] . '&view=1up&seq=' . $vars['seq'];
return $outputUrl;
}