wedata

Database: AutoPagerize

Item Details: Tumblr

url ^http://[^.]+\.tumblr\.com/(?:page|tagged|search|$)
nextLink //a[contains(@href,"/page/")][number(substring-after(self::a/@href,"/page/"))-number(substring-after(preceding-sibling::a/@href,"/page/")) = 2 or number(substring-after(self::a/@href,"/page/"))-number(substring-after(following-sibling::a/@href,"/page/")) = 2]|//a[contains(@href,"/page/")][position()=last() and substring-after(self::a/@href, "/page/") = 2]
pageElement //div[@id = "container" or @class = "main" or count(child::div) >= 10 or count(child::div[contains(@class, "post")]) >= 5]/div[@class !="footer" and @class != "navigation" and @class != "calendar" and @class != "page"]
exampleUrl http://os.tumblr.com/ http://os.tumblr.com/page/2 http://os.tumblr.com/page/3

History

Back