forked from mulsahu/testspac
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgeek.com.json
25 lines (23 loc) · 1.08 KB
/
geek.com.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
{
"name":"crawl geek.com deals",
"model": "com.fp.ecommerce.model.Deal",
"urls":[
"http://geek.bdt.pcmag.com/deals/laptops/ !! category=laptop",
"http://geek.bdt.pcmag.com/deals/hdtvs/ !! category=hdtv",
"http://geek.bdt.pcmag.com/deals/electronics/ !! category=electronics",
"http://geek.bdt.pcmag.com/deals/gaming/ !! category=gaming",
"http://geek.bdt.pcmag.com/deals/desktops/ !! category=desktops",
"http://geek.bdt.pcmag.com/deals/cameradeals/ !! category=camrea"
],
"list_xpath":"//div[contains(@class,'deal')]",
"fields":{
"siteName": "##www.geek.com",
"category": "$$category",
"title": "//div[contains(@class,'column-title')]//h3[contains(@class,'title')]/a",
"dealPrice": "//div[contains(@class,'column-info')]//div[contains(@class,'FinalPrice')]",
"detailUrl": "//div[contains(@class,'column-title')]//h3[contains(@class,'title')]/a/@href",
"regularPrice": "//span[contains(@class,'ListPrice')]",
"imageUrl": "//img[contains(@class,'dealImage')]/@src",
"desc": "//span[contains(@class,'description-inner')]"
}
}