OxbridgeEconomics
commited on
Update ndrc.py
Browse files
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')
|
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 = ''
|