-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathxpaths.json
37 lines (37 loc) · 1.62 KB
/
xpaths.json
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
35
36
37
{
"news.sina.com.cn": {
"title": "//meta[@property='og:title']/@content",
"source": "//meta[@name='mediaid']/@content",
"keywords": "//div[contains(@class,'keywords')]/a/text()",
"time": "//meta[@property='article:published_time']/@content",
"content": "(//div[@id='article'] | //div[@id='artibody'])/p//text()"
},
"sports.sina.com.cn": {
"title": "//meta[@property='og:title']/@content",
"source": "//meta[@name='mediaid']/@content",
"keywords": "//div[contains(@class,'keywords')]/a/text()",
"time": "//meta[@property='article:published_time']/@content",
"content": "(//div[@id='article'] | //div[@id='artibody'])/p//text()"
},
"ent.sina.com.cn": {
"title": "//h1[@class='main-title']/text()",
"source": "//meta[@name='mediaid']/@content",
"keywords": "//div[@id='keywords']/a/text()",
"time": "//meta[@property='article:published_time']/@content",
"content": "(//div[@id='article'] | //div[@id='artibody'])/p//text()"
},
"tech.sina.com.cn": {
"title": "//meta[@property='og:title']/@content",
"source": "//meta[@name='mediaid']/@content",
"keywords": "//div[@id='keywords']/a/text()",
"time": "//meta[@property='article:published_time']/@content",
"content": "(//div[@id='article'] | //div[@id='artibody'])/p//text()"
},
"finance.sina.com.cn": {
"title": "//meta[@property='og:title']/@content",
"source": "//meta[@name='mediaid']/@content",
"keywords": "//div[contains(@class,'keywords')]/a/text()",
"time": "//meta[@property='article:published_time']/@content",
"content": "(//div[@id='article'] | //div[@id='artibody'])/p//text()"
}
}