We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1f80797 + 095033f commit c293c92Copy full SHA for c293c92
1 file changed
pygsheets/client.py
@@ -17,7 +17,7 @@
17
18
GOOGLE_SHEET_CELL_UPDATES_LIMIT = 50000
19
20
-_url_key_re_v1 = re.compile(r'key=([^&#]+)')
+_url_key_re_v1 = re.compile(r'[?&]key=([^&#]+)')
21
_url_key_re_v2 = re.compile(r"/spreadsheets/d/([a-zA-Z0-9-_]+)")
22
_email_patttern = re.compile(r"\"?([-a-zA-Z0-9.`?{}]+@[-a-zA-Z0-9.]+\.\w+)\"?")
23
# _domain_pattern = re.compile("(?!-)[A-Z\d-]{1,63}(?<!-)$", re.IGNORECASE)
0 commit comments