airbyte-source-google-search-console 1.5.17__py3-none-any.whl → 1.5.18__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: airbyte-source-google-search-console
3
- Version: 1.5.17
3
+ Version: 1.5.18
4
4
  Summary: Source implementation for Google Search Console.
5
5
  License: Elv2
6
6
  Author: Airbyte
@@ -17,10 +17,10 @@ source_google_search_console/schemas/search_analytics_site_report_by_site.json,s
17
17
  source_google_search_console/schemas/sitemaps.json,sha256=coyPSZCAfzMheybfRp4WPAZCp5JF2KGRF2rWK8oC080,1775
18
18
  source_google_search_console/schemas/sites.json,sha256=WNiCRuStPL1YkJiFa8FEbNJmqaERAOf9Yow6ygIumvo,383
19
19
  source_google_search_console/service_account_authenticator.py,sha256=gjUxt0xFxj82uviCQNTsA1Jlee__UDhYNjE7bRO1G0U,1227
20
- source_google_search_console/source.py,sha256=8n10_agSa2rvPvEyBvOfOpmpEardbEhi3H0vlK2A4_g,10002
20
+ source_google_search_console/source.py,sha256=2OpJDWhMNoRj9Q4p6Br3DMOrphqDb_6Ca0RWGAvtnrQ,10010
21
21
  source_google_search_console/spec.json,sha256=WYtFvaSqWYGm1Dt2yV9G92U78Q94rh9oarbxJe3H7xo,8470
22
22
  source_google_search_console/streams.py,sha256=WyClF4v6w5ZdYL9Ses_ITBzMNd6CQLaNKU64HtFMcfE,19920
23
- airbyte_source_google_search_console-1.5.17.dist-info/METADATA,sha256=_Li00CZRIE5xrS4lhgd4Oz9pR5qpSpaKcuWLaO8wwdI,5622
24
- airbyte_source_google_search_console-1.5.17.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
25
- airbyte_source_google_search_console-1.5.17.dist-info/entry_points.txt,sha256=DMcgc9bCX-Vt6hm_68pa77qS3eGdeMhg-UdlFc-XKUM,85
26
- airbyte_source_google_search_console-1.5.17.dist-info/RECORD,,
23
+ airbyte_source_google_search_console-1.5.18.dist-info/METADATA,sha256=bodtIwg1k3rP4507KfHBZoBQugAXclCMsKCuMAgpEjU,5622
24
+ airbyte_source_google_search_console-1.5.18.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
25
+ airbyte_source_google_search_console-1.5.18.dist-info/entry_points.txt,sha256=DMcgc9bCX-Vt6hm_68pa77qS3eGdeMhg-UdlFc-XKUM,85
26
+ airbyte_source_google_search_console-1.5.18.dist-info/RECORD,,
@@ -151,7 +151,7 @@ class SourceGoogleSearchConsole(AbstractSource):
151
151
  if response.status_code != 200:
152
152
  raise UnidentifiedError(response.json())
153
153
 
154
- remote_site_urls = {s["siteUrl"] for s in response.json()["siteEntry"]}
154
+ remote_site_urls = {s["siteUrl"] for s in response.json().get("siteEntry", [])}
155
155
  invalid_site_url = set(site_urls) - remote_site_urls
156
156
  if invalid_site_url:
157
157
  raise InvalidSiteURLValidationError(invalid_site_url)