diff --git a/rsshub/spiders/xinhuanet/world.py b/rsshub/spiders/xinhuanet/world.py index 4b89e05..ffe2946 100644 --- a/rsshub/spiders/xinhuanet/world.py +++ b/rsshub/spiders/xinhuanet/world.py @@ -7,8 +7,6 @@ domain = 'http://www.news.cn/world/index.html' def ctx(): url = f'{domain}' tree = fetch(url, headers=DEFAULT_HEADERS) - with open('/home/icedragon/tmp.html', 'w') as log: - log.write(tree.getall()[0]) posts = tree.xpath('//div[@id=\'recommendDepth\']//a') return { 'title': '新华网 - 国际要闻',