VyLala commited on
Commit
bf89fa9
·
verified ·
1 Parent(s): f412fc0

Update NER/html/extractHTML.py

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