Skip to content

Engine scripting, grabbing the last link in pagination

edited June 2014 in Need Help

I"m trying to messup a few ini files :D
There is a specific platform where the link is only visible after you visit the last page. It kinda looks like this. Is it possible to grab the only last link? I can't think of anything :(

IN the example below i'd like to grabe page 1084 => /Blog/post/Some_Questions/?page=1084#comments
I removed some closing/opening tags so it will be better readable

li class="pag-number">a href="/Blog/post/Some_Questions/?page=2#comments">2
li class="pag-number">a href="/Blog/post/Some_Questions/?page=3#comments">3
li class="pag-number">a href="/Blog/post/Some_Questions/?page=4#comments">4
li class="pag-number">a href="/Blog/post/Some_Questions/?page=5#comments">5
li class="pag-number">span class="pag-range"../span> a href="/Blog/post/Some_Questions/?page=1084#comments">1084
li class="pag-next"a href="/Blog/post/Some_Questions/?page=2#comments"Next





Comments

  • SvenSven www.GSA-Online.de
    Maybe post the source on pastebin where it is not modified by this forum.
Sign In or Register to comment.