config: Added example file for xkcd.

This commit is contained in:
Glenn Y. Rolland 2011-11-23 15:24:41 +01:00
parent 8a08523145
commit c292504fef

10
config/xkcd.yml Normal file
View 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: 0.25