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