Added example configuration file.
This commit is contained in:
parent
c2904739c0
commit
cf2ccc793f
1 changed files with 10 additions and 0 deletions
10
config/comic.yml.example
Normal file
10
config/comic.yml.example
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
---
|
||||||
|
name: XKCD
|
||||||
|
home_url: http://xkcd.com/
|
||||||
|
base_url: http://xkcd.com/
|
||||||
|
image_xpath: //div[@id="middleContent"]//div[@class="s"]//img/@src
|
||||||
|
first_xpath: //div[@class="menuCont"][1]/ul/li[1]/a/@href
|
||||||
|
prev_xpath: //div[@class="menuCont"][1]/ul/li[2]/a/@href
|
||||||
|
next_xpath: //div[@class="menuCont"][1]/ul/li[4]/a/@href
|
||||||
|
last_xpath: //div[@class="menuCont"][1]/ul/li[5]/a/@href
|
||||||
|
sleep: 1
|
Loading…
Reference in a new issue