-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy path网易.py
34 lines (32 loc) · 1.02 KB
/
网易.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
a = {
'title': '1046例!西班牙新冠肺炎确诊病例破千死亡26例',
'digest': '',
'docurl': 'https://news.163.com/20/0310/02/F7ASP4TJ0001899O.html',
'commenturl': 'http://comment.tie.163.com/F7ASP4TJ0001899O.html',
'tienum': 283,
'tlastid': '<ahref=/world/>国际新闻</a>',
'tlink': 'https://news.163.com/20/0310/02/F7ASP4TJ0001899O.html',
'label': '其它',
'keywords': [{
'akey_link': 'http://news.163.com/keywords/8/7/897f73ed7259/1.html',
'keyname': '西班牙'
}, {
'akey_link': 'http://news.163.com/keywords/6/b/65b051a080ba708e/1.html',
'keyname': '新冠肺炎'
}],
'time': '03/10/202002:19:56',
'newstype': 'article',
'pics3': [],
'channelname': 'yaowen',
'source': '央视新闻客户端',
'imgurl': 'http://cms-bucket.ws.126.net/2020/0310/a62de56bp00q6xuwy00f0c000s600e3c.png',
'add1': '',
'add2': '',
'add3': ''
}
if __name__ == '__main__':
a["keywords"].append({
'akey_link': 'http://news.163.com/keywords/7/f/7ef4591a52294e9a/1.html',
'keyname': '维多利亚'
})
print(a)