fix google books parser when server not in us

This commit is contained in:
mein Name 2025-03-03 16:37:27 -05:00 committed by Henri Dickson
parent 0a4c050c4a
commit 360163fbe8

View file

@ -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