Definition support.
This commit is contained in:
29
definitions/telefonforsaljare.toml
Normal file
29
definitions/telefonforsaljare.toml
Normal file
@@ -0,0 +1,29 @@
|
||||
name = "telefonforsaljare.nu"
|
||||
path = "http://www.telefonforsaljare.nu/telefonnummer/{ number }/"
|
||||
|
||||
[[messages]]
|
||||
selector = "#content p:nth-child(2) i"
|
||||
|
||||
[[history]]
|
||||
selector = "#content p:nth-child(4)"
|
||||
|
||||
[[history]]
|
||||
selector = "#content p:nth-child(5)"
|
||||
|
||||
[[comments]]
|
||||
selector = "#kommentarer > [itemtype='http://data-vocabulary.org/Review']"
|
||||
|
||||
[comments.date_time]
|
||||
selector = "small"
|
||||
data = "attr:datetime"
|
||||
kind = "date_time"
|
||||
format = "%Y-%m-%d %H:%M:%S"
|
||||
tz = "Europe/Stockholm"
|
||||
|
||||
[comments.title]
|
||||
selector = "h3"
|
||||
data = "inner_html"
|
||||
|
||||
[comments.message]
|
||||
selector = "[itemprop='description']"
|
||||
data = "inner_html"
|
||||
Reference in New Issue
Block a user