Bit Che > Scripts & Development

Making a script for DidiDave.com & Revolutiontt.com

<< < (2/3) > >>

chip!:
yeah that looks fine, the only thing I would maybe change if there's a chance that Seeders HTML code might change, such as if there are 0 seeds so the font changes, or whatever, as I've seen on some sites... 

I would maybe suggest just making it a little simpler:

t=array(q,8)
5=x(t,z,>,[-bc-])
t=array(q,9)
6=x(t,z,>,[-bc-])

since in the beginning you have done:
d=replace(d,</td>,[-bc-]</td>)

which puts a [-bc-] in front of each <'/td> (normally the end of the array line), making it easier for you to tell BC to extract that entire segment (from the end of the td> to the beginning of [-bc-])

--- Code: ---<td align=right><b><a href=details.php?id=12237&amp;hit=1&amp;toseeders=1><font color=#000000>4</font></a></b>[-bc-]</td>
--- End code ---

at which point, the x( function extracts:

--- Code: ---<b><a href=details.php?id=12237&amp;hit=1&amp;toseeders=1><font color=#000000>4</font></a></b>
--- End code ---

then removes any HTML tags in there, such as the <font, the <'b>, the <a href, etc  and the end result saved would just be the seeders # (or leechers #)..


but then again, if that seeder's HTML never changes, then the code as you have written would work fine!

great job :)

Exoskeletor:
something is not good. please check the source:(i have search for akis if this is helpfull):

chip!:
did you try stepping through it with the debugger? if so, what line does it last execute? or is it not processing results at all  ?


ok i see a problem right away on the first line:


--- Code: ---'toseeders</a></td>'
--- End code ---

isn't found in the HTML...   

chip!:
to start it off, try:



--- Code: ---x=h(z,d,Seeders</FONT></A>,/tr>)
z=i(x,d,</table>)
--- End code ---

Exoskeletor:
ive done that, not working still

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version