mirror of
https://github.com/d0zingcat/RSSHub-python.git
synced 2026-05-14 15:09:23 +00:00
remove tmp log for xinhuanet world
This commit is contained in:
@@ -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': '新华网 - 国际要闻',
|
||||
|
||||
Reference in New Issue
Block a user