url |
^https?://(www\.)?afpbb\.com/articles/ |
nextLink |
//li[contains(concat(' ',@class,' '),' thumb ')][contains(concat(' ',@class,' '),' current ')]/following-sibling::li/a|id('photos')//a[@class='next-btn'][not(//ul[contains(concat(' ',@class,' '),' pager ')]/li[@class='next'])]|//li[contains(concat(' ',normalize-space(@class),' '),' next ')]/a |
pageElement |
id('photos')[number(substring-before(.//div[@class='num']/span/text(),'/'))>1]|id('article-contents')/div[contains(@class,'article-body')]/p[substring-before(id('photos')//div[@class='num']/span/text(),'/')='1' or not(id('photos')//div[@class='num'])] |
exampleUrl |
http://www.afpbb.com/articles/-/3148066?pid=
http://www.afpbb.com/articles/-/3182187?pid=20345505
http://www.afpbb.com/articles/-/3011860
http://www.afpbb.com/articles/-/3004949
https://www.afpbb.com/articles/-/3297515 |
insertBefore |
id('article-contents')/div[contains(@class,'article-body')]/node()[last()] |