fix google books parser when server not in us
This commit is contained in:
parent
0a4c050c4a
commit
360163fbe8
1 changed files with 3 additions and 3 deletions
|
@ -15,9 +15,9 @@ class GoogleBooks(AbstractSite):
|
|||
SITE_NAME = SiteName.GoogleBooks
|
||||
ID_TYPE = IdType.GoogleBooks
|
||||
URL_PATTERNS = [
|
||||
r"https://books\.google\.co[^/]+/books\?id=([^&#]+)",
|
||||
r"https://www\.google\.co[^/]+/books/edition/[^/]+/([^&#?]+)",
|
||||
r"https://books\.google\.co[^/]+/books/about/[^?]+\?id=([^&#?]+)",
|
||||
r"https://books\.google\.[^/]+/books\?id=([^&#]+)",
|
||||
r"https://www\.google\.[^/]+/books/edition/[^/]+/([^&#?]+)",
|
||||
r"https://books\.google\.[^/]+/books/about/[^?]+\?id=([^&#?]+)",
|
||||
]
|
||||
WIKI_PROPERTY_ID = ""
|
||||
DEFAULT_MODEL = Edition
|
||||
|
|
Loading…
Add table
Reference in a new issue