Files changed (1) hide show
  1. NER/html/extractHTML.py +1 -1
NER/html/extractHTML.py CHANGED
@@ -198,7 +198,7 @@ class HTML():
198
  #if scienceDirect is not None or len(json) == 0:
199
  if is_sciencedirect_source and (scienceDirect is not None or len(json) == 0):
200
  print("async fetching ScienceDirect metadata...")
201
- api_key = os.environ["ELSEVIER_API_KEY"]
202
  doi = self.htmlLink.split("https://doi.org/")[-1]
203
  base_url = f"https://api.elsevier.com/content/article/doi/{doi}"
204
  headers = {"Accept": "application/json", "X-ELS-APIKey": api_key}
 
198
  #if scienceDirect is not None or len(json) == 0:
199
  if is_sciencedirect_source and (scienceDirect is not None or len(json) == 0):
200
  print("async fetching ScienceDirect metadata...")
201
+ api_key = "d0f25e6ae2b275e0d2b68e0e98f68d70"
202
  doi = self.htmlLink.split("https://doi.org/")[-1]
203
  base_url = f"https://api.elsevier.com/content/article/doi/{doi}"
204
  headers = {"Accept": "application/json", "X-ELS-APIKey": api_key}