-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstores.php
117 lines (116 loc) · 3.65 KB
/
stores.php
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
<?php
$data = array(
array(
'id' => 'www.verkkokauppa.com',
'name' => 'Verkkokauppa.com',
'priceRegExp' => array(
'/<meta data-rh="true" property="product:price:amount" content="([0-9.]+?)"\/>/is',
'/<meta data-rh="true" content="([0-9.]+?)" property="product:price:amount"\/>/is'
),
'availabilityRegExp' => array(
'/<meta data-rh="true" content="([a-z ]+?)" property="product:availability"\/>/is',
'in stock',
'out of stock'
)
),
array(
'id' => 'www.gigantti.fi',
'name' => 'Gigantti',
'priceRegExp' => array(
'/<div class="product-price-container"><span>(.*?)<\/span><\/div>/is',
),
'availabilityRegExp' => array(
'/Tuote ei saatavilla/is',
false,
true
)
),
array(
'id' => 'www.jimms.fi',
'name' => 'Jimm\'s',
'priceRegExp' => '/<meta property="product:price:amount" content="([0-9.,]+?)">/is'
),
array(
'id' => 'www.multitronic.fi',
'name' => 'Multitronic',
'priceRegExp' => '/<span id="vat" style="">(.*?)<\/span><\/span>/is'
),
array(
'id' => 'www.proshop.fi',
'name' => 'Proshop',
'priceRegExp' => '/<span class="site-currency-attention">(.*?)<\/span>/is'
),
array(
'id' => 'www.vpd.fi',
'name' => 'VPD',
'priceRegExp' => '/<span class="price">(.*?)<\/span>/is',
'availabilityRegExp' => array(
'/<span class="stock-status">(.*?) kpl<\/span>/is',
true,
false
)
),
array(
'id' => 'www.discshop.fi',
'name' => 'Discshop',
'priceRegExp' => '/<span itemprop="price">(.*?)<\/span>/is'
),
array(
'id' => 'www.puolenkuunpelit.com',
'name' => 'Puolenkuun Pelit',
'priceRegExp' => array(
'/<form name="cart_quantity".*?>.*?<b class="commonPriceSpecial"><s>.*?<\/s> (.*?)<\/b>/is',
'/<form name="cart_quantity".*?>.*?<b class="commonPrice">(.*?)<\/b>/is'
),
'availabilityRegExp' => array(
'/Tuotepainos loppu/is',
false,
true
)
),
array(
'id' => 'www.konsolinet.fi',
'name' => 'Konsolinet',
'priceRegExp' => '/<dd class="Price">(.*?)<\/dd>/is',
'availabilityRegExp' => array(
'/Loppunut/is',
false,
true
)
),
array(
'id' => 'www.pelaajashop.fi',
'name' => 'Pelaaja Shop',
'priceRegExp' => '/<dd class="Price">(.*?)<\/dd>/is'
),
array(
'id' => 'www.maxgaming.fi',
'name' => 'Max Gaming',
'priceRegExp' => '/<div class="productInfo">.*?<div class="price">(.*?)<\/div>/is'
),
array(
'id' => 'www.hifistudio.fi',
'name' => 'HifiStudio',
'priceRegExp' => '/<meta property="product:price:amount" content="([0-9.,]+?)" \/>/is'
),
array(
'id' => 'www.audiokauppa.fi',
'name' => 'Audiokauppa.fi',
'priceRegExp' => '/<span itemprop=\'price\' content=\'.*\'>([0-9.,]+?)<\/span>/is'
),
array(
'id' => 'www.hifihuone.fi',
'name' => 'Hifihuone',
'priceRegExp' => '/<span class="woocommerce-Price-amount amount">([0-9.,]+?)<span/is'
),
array(
'id' => 'www.finnishdesignshop.fi',
'name' => 'Finnish Design Shop',
'priceRegExp' => '/<meta itemprop="price" content="([0-9.]+?)">/is'
),
array(
'id' => 'nettiverstas.fi',
'name' => 'Nettiverstas',
'priceRegExp' => '/value: ([0-9.]+?),/is'
),
);