Spaces:
Running
Running
Update NER/html/extractHTML.py
Browse files- 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 = "
|
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
|