Convivea Home
-
Downloads
-
Donate!
-
IRC Chat!
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
May 19, 2013, 06:27:33 pm
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Summer is approaching!!
Search:
Advanced search
19231
Posts in
1871
Topics by
28442
Members Latest Member:
-
gelonniemoore
Most online today:
59
- most online ever:
406
(February 03, 2008, 03:41:03 pm)
Convivea Forums
|
Bit Che
|
Scripts & Development
| Topic:
Greek-Tracker script almost perfect
Pages: [
1
]
Go Down
« previous
next »
Author
Topic: Greek-Tracker script almost perfect (Read 5232 times)
0 Members and 1 Guest are viewing this topic.
Exoskeletor
Full Member
Karma: +37/-0
Offline
Gender:
Posts: 190
Live And Let Die
Greek-Tracker script almost perfect
«
on:
December 15, 2006, 12:15:39 pm »
hell yeah. im getting all the results except the leechers because its in the form: q(10): <td class="row2" align=right>1
Code:
q(0):
<tr>
<td align=center style='padding: 0px'><a href="browse.php?cat=5"><img border="0" src="pic/cat_musicvideos_video.gif" alt="Video Clips" /></a>
q(1):
<td class="row2" align="left"><a href="details.php?id=12450&hit=1"><b>Nightwish[Wish I Had An Angel]</b></a><a class="index" href="download.php/12450/Nightwish_-_Wish_I_Had_An_Angel.avi.torrent"><img style=border:none alt=download src=pic/download.gif align=right></a><td class="row2" align=center><nobr>None</nobr>
q(2):
q(3):
<td class="row2" align="right"><b><a href="details.php?id=12450&hit=1&filelist=1">1</a></b>
q(4):
<td class="row2" align="right"><b><a href="details.php?id=12450&hit=1&tocomm=1">7</a></b>
q(5):
<td class="row2" align=center><nobr>2006-12-07<br />17:31:44</nobr>
q(6):
<td class="row2" align=center>195<br>hours
q(7):
<td class="row2" align=center>80.19<br>MB
q(8):
<td class="row2" align=center><a href=viewsnatches.php?id=12450>28<br>times</a>
q(9):
<td class="row2" align="right"><span class="green">1</span>
q(10):
<td class="row2" align=right>1
[script]
name=Greek-Tracker.com
home=http://www.greek-tracker.com
pwd=1
login=http://www.greek-tracker.com/takelogin.php
form=username=%USER%&password=%PASS%
failed=action="takelogin.php"
failed2=?returnto=
main=http://www.greek-tracker.com/browse.php?
c14=1&c13=1&c16=1&c15=1&c7=1&c8=1&c10=1&c11=1&c9=1&c12=1&c4=1&c2=1&c1=1&c3=1&c5=1&in
cldead=0&search=%SEARCH%
Code:
x=h(x,d,Seeders</a></td>,/tr>)
z=i(x,d,</table>)
d=c(d,x,z)
d=replace(d,</td>,[-bc-]</td>)
r=split(d,</tr>)
start
q=split(r,</td>,3)
t=array(q,1)
z=i(z,t,href=)
3=x(t,z,",",http://www.greek-tracker.com/)
z=i(z,t,<b>)
1=x(t,z,>,</)
z=i(z,t,href=)
7=x(t,z,",",http://www.greek-tracker.com/)
t=array(q,7)
t=replace(t,<br>, )
2=x(t,z,>,[-bc-])
t=array(q,9)
z=i(z,t,<span)
5=x(t,z,>,</)
t=array(q,10)
6=x(t,z,>, )
aloop
everything else works perfect
(remind me how is enter in vb6. ctrf something like that)
«
Last Edit: December 15, 2006, 12:25:19 pm by Exoskeletor
»
Logged
chip!
Bad Ass
Administrator
Unstoppable
Karma: +617/-4
Offline
Gender:
Posts: 2040
Re: Greek-Tracker script almost perfect
«
Reply #1 on:
December 15, 2006, 12:26:40 pm »
just change that last line to use the "[-bc-]" tag that got added with "d=replace(d,</td>,[-bc-]</td>)"
seems to be working
great job with the scripts!!
Code:
x=h(x,d,Seeders</a></td>,/tr>)
z=i(x,d,</table>)
d=c(d,x,z)
d=replace(d,</td>,[-bc-]</td>)
r=split(d,</tr>)
start
q=split(r,</td>,3)
t=array(q,1)
z=i(z,t,href=)
3=x(t,z,",",http://www.greek-tracker.com/)
z=i(z,t,<b>)
1=x(t,z,>,</)
z=i(z,t,href=)
7=x(t,z,",",http://www.greek-tracker.com/)
t=array(q,7)
t=replace(t,<br>, )
2=x(t,z,>,[-bc-])
t=array(q,9)
z=i(z,t,<span)
5=x(t,z,>,</)
t=array(q,10)
6=x(t,z,>,[-bc-])
aloop
if you do any changing to the HTML (such as with the replace( function) its definitely easier to look at the 'Q' array display from inside the debugger to look at the changes in real time:
Code:
q Array: 11 items)
q(0):
/tr>
<tr>
<td align=center style='padding: 0px'><a href="browse.php?cat=3"><img border="0" src="pic/cat_music_music.gif" alt="Music - Other" /></a>[-bc-]
q(1):
<td class="row2" align="left"><a href="details.php?id=12529&hit=1"><b>Armin van Buuren-ASOT 278[2006/MP3/192]</b></a><a class="index" href="download.php/12529/Armin%20van%20Buuren%20-%20A%20State%20of%20Trance%20278.torrent"><img style=border:none alt=download src=pic/download.gif align=right></a><td class="row2" align=center><nobr>None</nobr>[-bc-]
q(2):
[-bc-]
q(3):
<td class="row2" align="right"><b><a href="details.php?id=12529&hit=1&filelist=1">1</a></b>[-bc-]
q(4):
<td class="row2" align="right"><b><a href="details.php?id=12529&hit=1&tocomm=1">2</a></b>[-bc-]
q(5):
<td class="row2" align=center><nobr>2006-12-08<br />14:39:02</nobr>[-bc-]
q(6):
<td class="row2" align=center>174<br>hours[-bc-]
q(7):
<td class="row2" align=center>167.00<br>MB[-bc-]
q(8):
<td class="row2" align=center><a href=viewsnatches.php?id=12529>15<br>times</a>[-bc-]
q(9):
<td class="row2" align="right"><span class="green">2</span>[-bc-]
q(10):
<td class="row2" align=right>1[-bc-]
«
Last Edit: December 15, 2006, 12:29:12 pm by chip!
»
Logged
-
http://bitche.es
- And... boom goes the dynamite.
Exoskeletor
Full Member
Karma: +37/-0
Offline
Gender:
Posts: 190
Live And Let Die
Re: Greek-Tracker script almost perfect
«
Reply #2 on:
December 15, 2006, 12:33:38 pm »
hell yeah now its working. i was so close
for ratio im getting whatever im getting for seeders also. which line is responsible for ratio? i though bit che was generate it from s/l
Logged
chip!
Bad Ass
Administrator
Unstoppable
Karma: +617/-4
Offline
Gender:
Posts: 2040
Re: Greek-Tracker script almost perfect
«
Reply #3 on:
December 15, 2006, 12:35:40 pm »
yeah it is auto calculated.. but if you have 2 seeders and 1 leechers, then the ratio is 2 (same as seeders).. because (2/1)=2 ..
Logged
-
http://bitche.es
- And... boom goes the dynamite.
Exoskeletor
Full Member
Karma: +37/-0
Offline
Gender:
Posts: 190
Live And Let Die
Re: Greek-Tracker script almost perfect
«
Reply #4 on:
December 15, 2006, 12:38:39 pm »
so i have complete a script 99% then..
im going to upload it on the other thread
Logged
Pages: [
1
]
Go Up
Convivea Forums
|
Bit Che
|
Scripts & Development
| Topic:
Greek-Tracker script almost perfect
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Bit Che
-----------------------------
=> Bit Che - Info & Updates
=> Help and FAQ
=> Bugs & Feature Requests
=> Scripts & Development
=> Language Translations
=> Bit Che for Wine - Mac OSX & Ubuntu
-----------------------------
Other Projects
-----------------------------
=> MP3 Checker
===> Other Projects
-----------------------------
Forums
-----------------------------
=> General Discussion
=> Computers - Technology
===> Mobile Phones
===> Browsers
=> Gaming
=> P2P - Filesharing
=> Music - Movies - TV
=> Offbeat Relish