VyLala commited on
Commit
c58128a
·
verified ·
1 Parent(s): d9c1837

Update pipeline.py

Browse files
Files changed (1) hide show
  1. 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
- all_output += article_text
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: