OxbridgeEconomics commited on
Commit
0253287
·
unverified ·
1 Parent(s): b405c67

Update ndrc.py

Browse files
Files changed (1) hide show
  1. ndrc.py +1 -1
ndrc.py CHANGED
@@ -55,7 +55,7 @@ while i > -1:
55
  text = req.read()
56
  html_text = text.decode("utf-8")
57
  page = etree.HTML(html_text)
58
- article['originalContent'] = encode(page.xpath("//div[contains(@class, 'TRS_Editor')] or contains(@class, 'article_l')]"))
59
  if len(article['originalContent']) < 10:
60
  continue
61
  CONTENT_ENG = ''
 
55
  text = req.read()
56
  html_text = text.decode("utf-8")
57
  page = etree.HTML(html_text)
58
+ article['originalContent'] = encode(page.xpath("//div[contains(@class, 'TRS_Editor') or contains(@class, 'article_l')]"))
59
  if len(article['originalContent']) < 10:
60
  continue
61
  CONTENT_ENG = ''