Spaces:
Running
Running
Update pipeline.py
Browse files- pipeline.py +1 -1
pipeline.py
CHANGED
|
@@ -326,7 +326,7 @@ def extractSources(doi, linksWithTexts, links, all_output, iso, acc, saveLinkFol
|
|
| 326 |
if "Just a moment...Enable JavaScript and cookies to continue".lower() not in article_text.lower() or "403 Forbidden Request".lower() not in article_text.lower():
|
| 327 |
linksWithTexts[link] = article_text
|
| 328 |
links.append(link)
|
| 329 |
-
|
| 330 |
if jsonSM:
|
| 331 |
sup_links = sum((jsonSM[key] for key in jsonSM),[])
|
| 332 |
if sup_links:
|
|
|
|
| 326 |
if "Just a moment...Enable JavaScript and cookies to continue".lower() not in article_text.lower() or "403 Forbidden Request".lower() not in article_text.lower():
|
| 327 |
linksWithTexts[link] = article_text
|
| 328 |
links.append(link)
|
| 329 |
+
all_output += article_text
|
| 330 |
if jsonSM:
|
| 331 |
sup_links = sum((jsonSM[key] for key in jsonSM),[])
|
| 332 |
if sup_links:
|