RefreshCapcha

Author Topic: Script Request: TorrentZone.net  (Read 23810 times)

Offline CuF

  • Sr. Member
  • ****
  • Posts: 331
  • Karma: +40/-0
    • View Profile
Script Request: TorrentZone.net
« on: May 13, 2011, 04:48:18 pm »
Just found this site today and it's pretty nice.  (Registration is currently open.)
The script for this has got me thoroughly stumped though.

Standard login should work, but it doesn't.  Special login seems to not work either.
It took me a long time to figure out the search string, but that's of no use because I just can't get Bit Che to play nice with it.

Is it possible BC has an issue when the web site uses https instead of http?

I'm open to suggestions since I'm perfectly capable of writing the rest of the script.

Offline Bovski

  • Head Cider Tester
  • Hero Member
  • *****
  • Posts: 673
  • Karma: +189/-0
  • High Five Me
    • View Profile
    • Warez The Index
Re: Script Request: TorrentZone.net
« Reply #1 on: May 22, 2011, 06:00:54 am »
Well there is no way 1.60 will handle it 1.66 should though but I'm not getting anywhere.

Offline CuF

  • Sr. Member
  • ****
  • Posts: 331
  • Karma: +40/-0
    • View Profile
Re: Script Request: TorrentZone.net
« Reply #2 on: May 22, 2011, 06:28:55 am »
I've been afraid to start script writing with the beta versions only because the script language seems to keep changing.

When it's closer to finalized I might take another look, but it took a lot of trial and error just to figure out the search string.  It's not shown after the search and a url sniffer can't see it either. 

I don't know if a normal form formatted url will work in this case.  Does 1.66 still have Special Logon?

Offline Bovski

  • Head Cider Tester
  • Hero Member
  • *****
  • Posts: 673
  • Karma: +189/-0
  • High Five Me
    • View Profile
    • Warez The Index
Re: Script Request: TorrentZone.net
« Reply #3 on: May 22, 2011, 06:58:58 am »
Yes apparently its built in
I think its just a little bug https:// is working fine I don't have any problem searching the site just logging in I'm guessing chip hasn't got around to implementing POST with the new control yet.

and its happy to take the search form as a GET though I'm sure they will block this as it leaks what people are searching for out of the Security of https

Can't download as it's not logged in but will give some search results.

main=https://torrentzone.net/browse.php?do=search&keywords=%SEARCH%&search_type=t_name&category=0&include_dead_torrents=No
« Last Edit: May 22, 2011, 07:06:33 am by Bovski »

Offline CuF

  • Sr. Member
  • ****
  • Posts: 331
  • Karma: +40/-0
    • View Profile
Re: Script Request: TorrentZone.net
« Reply #4 on: May 22, 2011, 10:35:34 am »
Yes apparently its built in
I think its just a little bug https:// is working fine I don't have any problem searching the site just logging in I'm guessing chip hasn't got around to implementing POST with the new control yet.

and its happy to take the search form as a GET though I'm sure they will block this as it leaks what people are searching for out of the Security of https

Can't download as it's not logged in but will give some search results.

main=https://torrentzone.net/browse.php?do=search&keywords=%SEARCH%&search_type=t_name&category=0&include_dead_torrents=No

I should have realized that searches work without logging in.  It's how I found the site (looking for a specific file with Google).

Looks like the script is for newer version BC.  As I've said, I'm holding off upgrading.  How many of the current scripts have been updated for that yet?

Btw, I'll see about translating it to the older version later tonight for others who haven't upgraded.

Edit: Wait, that's right, without HTTPS support, I CAN'T write a script for old version.  Duh.
« Last Edit: May 22, 2011, 10:48:27 am by CuF »

Offline Bovski

  • Head Cider Tester
  • Hero Member
  • *****
  • Posts: 673
  • Karma: +189/-0
  • High Five Me
    • View Profile
    • Warez The Index
Re: Script Request: TorrentZone.net
« Reply #5 on: May 23, 2011, 03:04:46 am »
Shouldn't worry to much about converting scripts I have a converter :) though without the final draft for the script language it's incomplete.

Offline chip!

  • Bad Ass
  • Administrator
  • Unstoppable
  • *****
  • Posts: 2301
  • Karma: +629/-6
    • View Profile
Re: Script Request: TorrentZone.net
« Reply #6 on: May 23, 2011, 12:27:47 pm »
i had to make some changes with the HTTP connection in order to get this site working. POST was implemented except I had made a vital mistake, and then the problem was when using WinHTTP AutoRedirect, the Cookies are not passed back at the completion of the HTTP request. So, I have to rewrite it using manual redirect code..

so anyway, this script works now (in the next beta release after build 66)
  -  https://convivea.com  -   And...  boom goes the dynamite.

Offline TheHalf™

  • The"better"Half™
  • Hero Member
  • *****
  • Posts: 726
  • Karma: +166/-0
  • Road Runner H.S.I. 30Mbps/5Mbps
    • View Profile
    • Bit Che
Re: Script Request: TorrentZone.net
« Reply #7 on: May 23, 2011, 12:50:35 pm »
To All: anyone whom can write a script 'including you chip' ever think of using a program like 'CamStudio' and give a tutorial!?

I'd think that would be nice for our upcoming members and contributors.

TheHalf™

Offline Bovski

  • Head Cider Tester
  • Hero Member
  • *****
  • Posts: 673
  • Karma: +189/-0
  • High Five Me
    • View Profile
    • Warez The Index
Re: Script Request: TorrentZone.net
« Reply #8 on: May 24, 2011, 05:29:27 am »
I cheat a lot when doing scripts so it wouldn't really help.

Here is me converting a script from 1.60 to 2.0 Beta 1
http://www.youtube.com/watch?v=TyGLiUT5GC4

Offline TheHalf™

  • The"better"Half™
  • Hero Member
  • *****
  • Posts: 726
  • Karma: +166/-0
  • Road Runner H.S.I. 30Mbps/5Mbps
    • View Profile
    • Bit Che
Re: Script Request: TorrentZone.net
« Reply #9 on: May 24, 2011, 05:51:38 am »
Nice presentation Bovski, although I am personally looking for something a lil more in-depth.

TheHalf™

Offline Bovski

  • Head Cider Tester
  • Hero Member
  • *****
  • Posts: 673
  • Karma: +189/-0
  • High Five Me
    • View Profile
    • Warez The Index
Re: Script Request: TorrentZone.net
« Reply #10 on: May 27, 2011, 09:31:48 pm »
Well it's easy to convert from one known format to another known format its basically a bunch of search and replaces then a little tidy up code

Dealing with unknown formats like torrent sites makes it way more difficult to make a One Size Fits All video for creating scripts for torrent sites.
If this stuff was simple someone would have come up with a automatic script generator or bit che itself would just need the URL's of the sites.

Saying all that negative stuff there are quite a few sites that are almost copy and paste with a change of names and URL's though this is becoming less common. When we get V2.0 I will have a go at doing a video tutorial.


Offline TheHalf™

  • The"better"Half™
  • Hero Member
  • *****
  • Posts: 726
  • Karma: +166/-0
  • Road Runner H.S.I. 30Mbps/5Mbps
    • View Profile
    • Bit Che
Re: Script Request: TorrentZone.net
« Reply #11 on: May 28, 2011, 12:17:33 am »
Nice and looking forward to it, thankx Bovski.

TheHalf™

Snizzel

  • Guest
Re: Script Request: TorrentZone.net
« Reply #12 on: August 30, 2011, 06:27:25 pm »
As a coder for TZ I'm am curious how i could help. and for more information