mirror of
https://github.com/standardebooks/web.git
synced 2025-07-06 23:00:28 -04:00
Normalize URLs when submitting artwork to database
This commit is contained in:
parent
f9c873003e
commit
e17a4bcc65
10 changed files with 182 additions and 29 deletions
6
lib/Exceptions/InvalidGoogleBooksUrlException.php
Normal file
6
lib/Exceptions/InvalidGoogleBooksUrlException.php
Normal file
|
@ -0,0 +1,6 @@
|
|||
<?
|
||||
namespace Exceptions;
|
||||
|
||||
class InvalidGoogleBooksUrlException extends InvalidUrlException{
|
||||
protected $message = 'Invalid Google Books URL. Google Books URLs begin with “https://www.google.com/books/edition/_/” and must be in single-page view. An example of a valid Google Books URL is “https://www.google.com/books/edition/_/mZpAAAAAYAAJ?gbpv=1&pg=PA70-IA2”.';
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue