We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 162c67c commit 84d3e24Copy full SHA for 84d3e24
google_custom_search/google_scratcher.py
@@ -65,9 +65,7 @@ def get_license_list():
65
"""
66
# Read license data from file
67
cc_license_data = pd.read_csv(
68
-
69
f"{PATH_REPO_ROOT}/legal-tool-paths.txt", header=None
70
71
)
72
# Define regex pattern to extract license types
73
license_pattern = r"((?:[^/]+/){2}(?:[^/]+)).*"
wikipedia/wikipedia_scratcher.py
@@ -101,7 +101,7 @@ def get_response_elems(language="en"):
101
search_data_dict = search_data["query"]["statistics"]
102
search_data_dict["language"] = language
103
return search_data_dict
104
+
105
except requests.HTTPError as e:
106
LOGGER.error(f"HTTP Error: {e}")
107
raise
0 commit comments