mirror of
https://github.com/standardebooks/web.git
synced 2025-07-13 01:52:02 -04:00
Restrict Internet Archive source to scans only
This commit is contained in:
parent
214d9a5c59
commit
f2ffacdff8
1 changed files with 1 additions and 1 deletions
|
@ -404,7 +404,7 @@ class Ebook{
|
||||||
elseif(mb_stripos($e, 'gutenberg.ca/') !== false){
|
elseif(mb_stripos($e, 'gutenberg.ca/') !== false){
|
||||||
$this->Sources[] = new EbookSource(SOURCE_PROJECT_GUTENBERG_CANADA, $e);
|
$this->Sources[] = new EbookSource(SOURCE_PROJECT_GUTENBERG_CANADA, $e);
|
||||||
}
|
}
|
||||||
elseif(mb_stripos($e, 'archive.org/') !== false){
|
elseif(mb_stripos($e, 'archive.org/details') !== false){
|
||||||
$this->Sources[] = new EbookSource(SOURCE_INTERNET_ARCHIVE, $e);
|
$this->Sources[] = new EbookSource(SOURCE_INTERNET_ARCHIVE, $e);
|
||||||
}
|
}
|
||||||
elseif(mb_stripos($e, 'hathitrust.org/') !== false){
|
elseif(mb_stripos($e, 'hathitrust.org/') !== false){
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue