wedata

Database: AutoPagerize

Item Details: Tumblr

url ^http://[^.]+\.tumblr\.com/(?:page|tagged|$)
nextLink //a[starts-with(@href, "/") and contains(@href, "/page/")][position()=last() and substring-after(self::a/@href, "/page/")=2]|/descendant-or-self::a[starts-with(@href, "/") and contains(@href, "/page/") and substring-after(@href, "/page/") * 2 > substring-after(/descendant-or-self::a[starts-with(@href, "/") and contains(@href, "/page/")][1]/@href, "/page/") + substring-after(/descendant-or-self::a[starts-with(@href, "/") and contains(@href, "/page/")][2]/@href, "/page/")]
pageElement //div[@id = "content" or @id = "container" or @class = "main" or count(child::div) >= 10 or count(child::div[@class = "posts"]) >= 5]/div[@class !="footer" and @class != "navigation" and @class != "calendar" and @class != "page"]

History

Back