VyLala commited on
Commit
9219232
·
verified ·
1 Parent(s): 481c923

Update NER/html/extractHTML.py

Browse files
Files changed (1) hide show
  1. NER/html/extractHTML.py +1 -1
NER/html/extractHTML.py CHANGED
@@ -61,7 +61,7 @@ class HTML():
61
  'Rights and permissions':[], 'About this article':[], 'Search':[], 'Navigation':[]}'''
62
  if scienceDirect!= None or len(json)==0:
63
  # Replace with your actual Elsevier API key
64
- api_key = "d0f25e6ae2b275e0d2b68e0e98f68d70"
65
  # ScienceDirect article DOI or PI (Example DOI)
66
  doi = self.htmlLink.split("https://doi.org/")[-1] #"10.1016/j.ajhg.2011.01.009"
67
  # Base URL for the Elsevier API
 
61
  'Rights and permissions':[], 'About this article':[], 'Search':[], 'Navigation':[]}'''
62
  if scienceDirect!= None or len(json)==0:
63
  # Replace with your actual Elsevier API key
64
+ api_key = os.environ["SCIENCE_DIRECT_API"]
65
  # ScienceDirect article DOI or PI (Example DOI)
66
  doi = self.htmlLink.split("https://doi.org/")[-1] #"10.1016/j.ajhg.2011.01.009"
67
  # Base URL for the Elsevier API