Well there is a [code2] section in v2 so the second page can be downloaded to grab the link.
[script]
name=bakabt.me
source=bakabt.me
author=chip
modified=Bovski 2013/01/12
pwd=1
version=2
[home]
1=http://bakabt.me
[profiles]
all=/browse.php?only=0&incomplete=1&lossless=1&hd=1&multiaudio=1&bonus=1&reorder=1&q=%SEARCH%
[login]
login=http://bakabt.me/login.php
form=username=%USER%&password=%PASS%
failed=<form method="post" action="login.php">
failed2=/login.php?return
[code1]
x=findh(@i,@data,`<div class="pager">`,`</tr></thead><tbody`,`>`,)
z=find(x,@data,`</tbody></table></div>`)
@data=crop(@data,x,z)
@data=vacuum(@data)
@data=replace(@data,`'`,``)
@data=replace(@data,`&`,`&`)
@data=replace(@data,`<strong>`,``)
@r=split(@data,`</tr>`)
start
@q=split(@r,`</td>`,2)
t=array(q,1)
x=find(@i,t,`href=`)
$page=extract(x,t,`"`,`"`,@home)
$name=extract(x,t,`title="`,`"`)
$torrent=code($page,2)
$date=array(q,3)
$size=array(q,4)
t=array(q,5)
y=find(@i,t,`</a>`)
x=findrev(y,t,`>`)
$seeds=extract(x,t,`>`,`</a>`)
y=+(3)
y=find(y,t,`</a>`)
x=findrev(y,t,`>`)
$leeches=extract(x,t,`>`,`</a>`)
aloop
[/code1]
[code2]
x=find(@i,@data,`download_link`,`href=`)
$torrent=extract(x,@data,`"`,`"`,@home)
[/code2]
This is done when you attempt to download the torrent
$torrent=code($page,2)
$page is downloaded and stored in @data then the [code2][/code2] section is run to generate the $torrent link