From c2dabfbe2dec5f8274202159d370deba4ed20835 Mon Sep 17 00:00:00 2001 From: Alex Cabal Date: Wed, 27 Jul 2022 11:30:56 -0500 Subject: [PATCH] Add comment for clarity --- lib/Ebook.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Ebook.php b/lib/Ebook.php index f392b45f..0758cea3 100644 --- a/lib/Ebook.php +++ b/lib/Ebook.php @@ -405,6 +405,7 @@ class Ebook{ $this->Sources[] = new EbookSource(SOURCE_PROJECT_GUTENBERG_CANADA, $e); } elseif(mb_stripos($e, 'archive.org/details') !== false){ + // `/details` excludes Wayback Machine URLs which may sometimes occur, for example in Lyrical Ballads $this->Sources[] = new EbookSource(SOURCE_INTERNET_ARCHIVE, $e); } elseif(mb_stripos($e, 'hathitrust.org/') !== false){