Bit Che > Scripts & Development

Is Code2 broken?

(1/1)

CuF:
I've tried to grab additional data from the torrent page for two different sites now using code2.

I'm calling the additional code like this:

--- Code: ---$size=code($page,2)
--- End code ---

Then doing something like this:

--- Code: ---[code2]
x=find(@i,@data,`"header">Size</td>`,`"top"`)
$size=extract(x,@data,`>`,`<`)
[/code2]
--- End code ---

Unfortunately I'm either getting 0 as a result OR something like @CODE2=....
Debugging never shows code2 executed.

Bovski:
code2 is for getting download links and is executed when you try and download a file.

CuF:
Ah.  IIRC that information wasn't on the search results page.  So there is no way to get it on the initial search.

Navigation

[0] Message Index

Go to full version