Convivea Home  -  Downloads  -  Donate!  -  IRC Chat!

*
*
Home
Help
Search
Login
Register
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 18, 2013, 02:59:39 am

Login with username, password and session length
Summer is approaching!! Smiley Smiley
Search:     Advanced search
19228 Posts in 1871 Topics by 28425 Members Latest Member: - Danceyewb Most online today: 38 - most online ever: 406 (February 03, 2008, 03:41:03 pm)
Pages: [1]   Go Down
Print
Author Topic: Script Request: TorrentZone.net  (Read 3899 times)
0 Members and 1 Guest are viewing this topic.
CuF
Sr. Member
****

Karma: +37/-0
Offline Offline

Posts: 260



View Profile
« on: May 13, 2011, 11: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.
Logged
Bovski
Head Cider Tester
Administrator
Hero Member
*****

Karma: +185/-0
Offline Offline

Gender: Male
Posts: 591


High Five Me


View Profile WWW
« Reply #1 on: May 22, 2011, 01:00:54 pm »

Well there is no way 1.60 will handle it 1.66 should though but I'm not getting anywhere.
Logged

CuF
Sr. Member
****

Karma: +37/-0
Offline Offline

Posts: 260



View Profile
« Reply #2 on: May 22, 2011, 01:28:55 pm »

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?
Logged
Bovski
Head Cider Tester
Administrator
Hero Member
*****

Karma: +185/-0
Offline Offline

Gender: Male
Posts: 591


High Five Me


View Profile WWW
« Reply #3 on: May 22, 2011, 01:58:58 pm »

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

* TorrentZone.ini (0.75 KB - downloaded 152 times.)
« Last Edit: May 22, 2011, 02:06:33 pm by Bovski » Logged

CuF
Sr. Member
****

Karma: +37/-0
Offline Offline

Posts: 260



View Profile
« Reply #4 on: May 22, 2011, 05:35:34 pm »

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, 05:48:27 pm by CuF » Logged
Bovski
Head Cider Tester
Administrator
Hero Member
*****

Karma: +185/-0
Offline Offline

Gender: Male
Posts: 591


High Five Me


View Profile WWW
« Reply #5 on: May 23, 2011, 10:04:46 am »

Shouldn't worry to much about converting scripts I have a converter Smiley though without the final draft for the script language it's incomplete.
Logged

chip!
Bad Ass
Administrator
Unstoppable
*****

Karma: +617/-4
Offline Offline

Gender: Male
Posts: 2039



View Profile
« Reply #6 on: May 23, 2011, 07: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)
Logged

  -  http://bitche.es  -   And...  boom goes the dynamite.
TheHalf™
The"better"Half™
Administrator
Hero Member
*****

Karma: +162/-0
Offline Offline

Posts: 672


Road Runner H.S.I. 30Mbps/5Mbps


View Profile WWW
« Reply #7 on: May 23, 2011, 07: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™
Logged

Bovski
Head Cider Tester
Administrator
Hero Member
*****

Karma: +185/-0
Offline Offline

Gender: Male
Posts: 591


High Five Me


View Profile WWW
« Reply #8 on: May 24, 2011, 12:29:27 pm »

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
<a href="http://www.youtube.com/v/TyGLiUT5GC4&amp;ap=%2526fmt%3D18&amp;rel=0" target="_blank">http://www.youtube.com/v/TyGLiUT5GC4&amp;ap=%2526fmt%3D18&amp;rel=0</a>
Logged

TheHalf™
The"better"Half™
Administrator
Hero Member
*****

Karma: +162/-0
Offline Offline

Posts: 672


Road Runner H.S.I. 30Mbps/5Mbps


View Profile WWW
« Reply #9 on: May 24, 2011, 12:51:38 pm »

Nice presentation Bovski, although I am personally looking for something a lil more in-depth.

TheHalf™
Logged

Bovski
Head Cider Tester
Administrator
Hero Member
*****

Karma: +185/-0
Offline Offline

Gender: Male
Posts: 591


High Five Me


View Profile WWW
« Reply #10 on: May 28, 2011, 04:31:48 am »

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.

Logged

TheHalf™
The"better"Half™
Administrator
Hero Member
*****

Karma: +162/-0
Offline Offline

Posts: 672


Road Runner H.S.I. 30Mbps/5Mbps


View Profile WWW
« Reply #11 on: May 28, 2011, 07:17:33 am »

Nice and looking forward to it, thankx Bovski.

TheHalf™
Logged

Snizzel
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 1



View Profile
« Reply #12 on: August 31, 2011, 01:27:25 am »

As a coder for TZ I'm am curious how i could help. and for more information
Logged
Pages: [1]   Go Up
Print
Convivea Forums  |  Bit Che  |  Scripts & Development  |  Topic: Script Request: TorrentZone.net
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.054 seconds with 17 queries.