Author Topic: Making Blue-WhiteGT.com Script  (Read 18857 times)

Offline Exoskeletor

  • Full Member
  • ***
  • Posts: 191
  • Karma: +37/-0
  • Live And Let Die
    • View Profile
Making Blue-WhiteGT.com Script
« on: December 14, 2006, 11:32:38 pm »
Code: [Select]
for blue whitegt i have done this: please check them:

[code]<tr>
<td align=center style='padding: 0px'><a href="browse.php?cat=89">Documentaries</a></td>
<td align=left><a href="details.php?id=10328&amp;hidden_pass=null&amp;hit=1"><b>?ep??t?? ????? S????a - ?p?te??? t?? ????te??e???</b></a></td></td>
<td align="right"><b><a href="details.php?id=10328&amp;hidden_pass=null&amp;hit=1&amp;filelist=1">2</a></b></td>
<td align="right" ><b><a href="details.php?id=10328&amp;hidden_pass=null&amp;hit=1&amp;tocomm=1">26</a></b></td>
<td align="center"><img src="image/5.gif" border="0" alt="rating: 4.9 / 5" /></td>
<td align=center><nobr>2005-11-20<br />10:51:21</nobr></td>
<td align=center>921.28<br>MB</td>
<td align=center>662<br>times</td>
<td align=right><b><a href=details.php?id=10328&amp;hidden_pass=null&amp;hit=1&amp;><font>11</font></a></b></td>
<td align=right><b><a href=details.php?id=10328&amp;hidden_pass=null&amp;hit=1&amp;>1</a></b></td>
<td align=center><a href="userdetails.php?id=5339">gurup</a></td>
</tr>

Code: [Select]
q(0):
<tr>
<td align=center style='padding: 0px'><a href="browse.php?cat=89">Documentaries</a>

q(1):

<td align=left><a href="details.php?id=10328&amp;hidden_pass=null&amp;hit=1"><b>?ep??t?? ????? S????a - ?p?te??? t?? ????te??e???</b></a>

q(2):


q(3):

<td align="right"><b><a href="details.php?id=10328&amp;hidden_pass=null&amp;hit=1&amp;filelist=1">2</a></b>

q(4):

<td align="right" ><b><a href="details.php?id=10328&amp;hidden_pass=null&amp;hit=1&amp;tocomm=1">26</a></b>

q(5):

<td align="center"><img src="image/5.gif" border="0" alt="rating: 4.9 / 5" />

q(6):

<td align=center><nobr>2005-11-20<br />10:51:21</nobr>

q(7):

<td align=center>921.28<br>MB

q(8):

<td align=center>662<br>times

q(9):

<td align=right><b><a href=details.php?id=10328&amp;hidden_pass=null&amp;hit=1&amp;><font>11</font></a></b>

q(10):

<td align=right><b><a href=details.php?id=10328&amp;hidden_pass=null&amp;hit=1&amp;>1</a></b>

q(11):

<td align=center><a href="userdetails.php?id=5339">gurup</a>

Code: [Select]
[script]
name=Blue-WhiteGT.com/
home=http://www.blue-whitegt.com/
pwd=1
login=http://www.blue-whitegt.com/takelogin.php
form=username=%USER%&password=%PASS%
failed=action="takelogin.php"
failed2=?returnto=
main=http://www.blue-whitegt.com/browse.php?search=%SEARCH%&cat=0
apps=http://www.blue-whitegt.com/browse.php?search=%SEARCH%&cat=100

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>,4)
t=array(q,1)
z=i(z,t,href=)
3=x(t,z,",",http://www.blue-whitegt.com/)
z=i(z,t,<b>)
1=x(t,z,>,</)
z=i(z,t,href=)
7=x(t,z,",",http://www.blue-whitegt.com/)
t=array(q,7)
t=replace(t,<br>, )
3=x(t,z,>,[-bc-])
t=array(q,9)
z=i(z,t,<font>)
5=x(t,z,>,</)
t=array(q,10)
6=x(t,z,>,</)
[/code]

On line 8 debugger is stop working :) (after start)

I think in the next version you should always open the scripts when debugger is on

Edit: im close, debugger shows something
1 - Name: Διαφήμιση NOVA Κρητικοί - Εκατήντησε οσάν τον ιπποπόταμο!
2 - Size:
3 - Page: 7.69%20MB
5 - Seeders: 20
6 - Leechers: 1
7 - URL: http://www.blue-whitegt.com/eft><a%20href=

i think i know where the problem is, the torrent url doesnt show in the results. you have to click on a result to get it.. is there any solution to that?
« Last Edit: December 15, 2006, 03:50:24 am by Exoskeletor »

Offline chip!

  • Bad Ass
  • Administrator
  • Unstoppable
  • *****
  • Posts: 2301
  • Karma: +629/-6
    • View Profile
Making Blue-WhiteGT.com Script
« Reply #1 on: December 15, 2006, 04:19:43 am »
i've only seen a FEW number of cases where it was impossible with the current design to implement a script for Bit Che.. most of the time that the Torrent URL isn't available I just write code that 'generates' the correct url... especially if the download url uses an ID or is similar to the Details Page url.


i'll have a look at this in a little.. thanks!

  -  https://convivea.com  -   And...  boom goes the dynamite.

Offline Exoskeletor

  • Full Member
  • ***
  • Posts: 191
  • Karma: +37/-0
  • Live And Let Die
    • View Profile
Making Blue-WhiteGT.com Script
« Reply #2 on: December 15, 2006, 04:23:50 am »
i dont think that you can produce the url with this site. to torrent name and the url hasnt anything in common. i have search it

Offline chip!

  • Bad Ass
  • Administrator
  • Unstoppable
  • *****
  • Posts: 2301
  • Karma: +629/-6
    • View Profile
Making Blue-WhiteGT.com Script
« Reply #3 on: December 15, 2006, 04:33:35 am »
whats the .torrent url for a result?


but.. i'm thinking we have another problem.. looks like that site outputs in UniCode but I dont think the ListView is going to like it..

soo.. i'm going to have to figure out another solution :(

  -  https://convivea.com  -   And...  boom goes the dynamite.

Offline Exoskeletor

  • Full Member
  • ***
  • Posts: 191
  • Karma: +37/-0
  • Live And Let Die
    • View Profile
Making Blue-WhiteGT.com Script
« Reply #4 on: December 15, 2006, 04:37:40 am »
href="download.php/11254/Ad%20-%20Nova%20-%20Dec%202005%20-%20Kritikoi.avi.torrent"
but we dont know from before the torrent name, we know the torrent page name

yes i notice that too about unicode. what about copying the name and making in greeklish?
we just need a code to do:
α=a
β=b
γ=c
etc..

but i can understand that it is kind of useless, for 1 site of the 2 greek torrent sites that exist

Offline chip!

  • Bad Ass
  • Administrator
  • Unstoppable
  • *****
  • Posts: 2301
  • Karma: +629/-6
    • View Profile
Making Blue-WhiteGT.com Script
« Reply #5 on: December 15, 2006, 04:41:23 am »
haha, well you could do this 26 times at the start of the code:

d=replace(d,α,a)
d=replace(d,β,b)
d=replace(d,γ,c)

haha.. etc ?


also, that .torrent download url can be easily generated as done with other sites..

i post some example code after i get back from lunch..  (45 minutes or so)

basically, you're going to take the 'details.php=id' and
then cut out the id #
then store into a string a proper download url with the id #
then add the torrent name and ".torrent" at the end..




here is an example from Dimeadozen (this might be perfect, just need to change the q( array):

3=x(t,z,",",http://www.dimeadozen.org/)
x=i(x,t,?id=)
z=i(x,t,&)
x=+(4)
k=c(t,x,z)
m=p(http://www.dimeadozen.org/download.php/)
m=&(m,k)
k=p(/)
m=&(m,k)
x=i(x,t,>)
z=i(x,t,</)
x=+(1)
k=c(t,x,z)
1=save(k)
k=replace(k, ,.)
m=&(m,k)
k=p(.torrent)
m=&(m,k)
7=save(m)
« Last Edit: December 15, 2006, 04:45:57 am by chip! »
  -  https://convivea.com  -   And...  boom goes the dynamite.

Offline Exoskeletor

  • Full Member
  • ***
  • Posts: 191
  • Karma: +37/-0
  • Live And Let Die
    • View Profile
Making Blue-WhiteGT.com Script
« Reply #6 on: December 15, 2006, 04:44:40 am »
ok then:
:D
α β γ δ ε ζ η θ ι κ λ μ ν ξ ο π ρ σ τ υ φ χ ψ ω ς
a b g d e z h th i k l m n ks o p r s t y f x ps w s

d=replace(d,α,a)
d=replace(d,β,b)
d=replace(d,γ,g)
d=replace(d,δ,d)
d=replace(d,ε,e)
d=replace(d,ζ,z)
d=replace(d,η,h)
d=replace(d,θ,th)
d=replace(d,ι,i)
d=replace(d,κ,k)
d=replace(d,λ,l)
d=replace(d,μ,m)
d=replace(d,ν,n)
d=replace(d,ξ,ks)
d=replace(d,ο,o)
d=replace(d,π,p)
d=replace(d,ρ,r)
d=replace(d,σ,s)
d=replace(d,τ,t)
d=replace(d,υ,u)
d=replace(d,φ,f)
d=replace(d,χ,x)
d=replace(d,ψ,ps)
d=replace(d,ω,w)
d=replace(d,ς,s)

you want this with caps also right? do you have any program to do this automaticly cause i havent :)
« Last Edit: December 15, 2006, 04:58:00 am by Exoskeletor »

Offline chip!

  • Bad Ass
  • Administrator
  • Unstoppable
  • *****
  • Posts: 2301
  • Karma: +629/-6
    • View Profile
Making Blue-WhiteGT.com Script
« Reply #7 on: December 15, 2006, 06:58:12 am »
your normal login/pw doesn't work for that site, so I wasnt able to test this, but I think it should be working, or at least very close.. let me know, or PM me the login for the site and ill get it working..  also, how does the translating of the unicode work for you?

i've attached the completed file below, but here's the code:

Code: [Select]
x=h(x,d,Seeders</a></td>,/tr>)
z=i(x,d,</table>)
d=c(d,x,z)
d=replace(d,</td>,[-bc-]</td>)
d=replace(d,α,a)
d=replace(d,β,b)
d=replace(d,γ,g)
d=replace(d,δ,d)
d=replace(d,ε,e)
d=replace(d,ζ,z)
d=replace(d,η,h)
d=replace(d,θ,th)
d=replace(d,ι,i)
d=replace(d,κ,k)
d=replace(d,λ,l)
d=replace(d,μ,m)
d=replace(d,ν,n)
d=replace(d,ξ,ks)
d=replace(d,ο,o)
d=replace(d,π,p)
d=replace(d,ρ,r)
d=replace(d,σ,s)
d=replace(d,τ,t)
d=replace(d,υ,u)
d=replace(d,φ,f)
d=replace(d,χ,x)
d=replace(d,ψ,ps)
d=replace(d,ω,w)
d=replace(d,ς,s)
r=split(d,</tr>)
start
q=split(r,</td>,4)
t=array(q,1)
x=i(z,t,href=)
3=x(t,x,",",http://www.blue-whitegt.com/)
x=i(z,t,?id=)
z=i(x,t,&)
x=+(4)
k=c(t,x,z)
m=p(http://www.blue-whitegt.com/)
m=&(m,k)
k=p(/)
m=&(m,k)
x=i(x,t,>)
z=i(x,t,</)
x=+(1)
k=c(t,x,z)
1=save(k)
k=replace(k, ,.)
m=&(m,k)
k=p(.torrent)
m=&(m,k)
7=save(m)
t=array(q,7)
t=replace(t,<br>, )
2=x(t,z,>,[-bc-])
t=array(q,9)
z=i(z,t,<font)
5=x(t,z,>,</)
t=array(q,10)
6=x(t,z,>,</)
aloop
« Last Edit: December 15, 2006, 10:59:19 am by chip! »
  -  https://convivea.com  -   And...  boom goes the dynamite.

Offline chip!

  • Bad Ass
  • Administrator
  • Unstoppable
  • *****
  • Posts: 2301
  • Karma: +629/-6
    • View Profile
Re: Making Blue-WhiteGT.com Script
« Reply #8 on: December 15, 2006, 10:56:32 am »
err.. apparently Win32 API for read/write ProfileString (.ini) doesnt like reading from Unicode saved files.. but I found that it doesnt mind reading from UTF-16 formatted files..

so here we go :)
« Last Edit: December 15, 2006, 10:59:09 am by chip! »
  -  https://convivea.com  -   And...  boom goes the dynamite.

Offline Exoskeletor

  • Full Member
  • ***
  • Posts: 191
  • Karma: +37/-0
  • Live And Let Die
    • View Profile
Re: Making Blue-WhiteGT.com Script
« Reply #9 on: March 28, 2008, 04:31:56 pm »
chip this script doesnt work anymore
Although i don't know why but i cant even start debugger with this script and blue-whitegt script. do you know why?
« Last Edit: March 30, 2008, 03:22:38 am by Exoskeletor »