TorrentFlux.com Welcome, Guest. Please login or register.
03-10-2010, 17:20:11
Home Help Search Login Register donate
TorrentFlux Home | TorrentFlux Hosting

+  TorrentFlux Forums
|-+  TorrentFlux
| |-+  TorrentFlux Search Engine Modules and Updates (Moderator: kboy)
| | |-+  btJunkie Search Module v1.01
« previous next »
Pages: 1 2 [All] Go Down Print
Author Topic: btJunkie Search Module v1.01  (Read 25281 times)
kboy
Global Moderator
Jr. Member
*****
Offline Offline

Posts: 79





View Profile
« on: 08-23-2006, 16:19:54 »

This is where updates for btJunkie Search module will be.

see attached for latest version

Current Version:  1.01

-- Version History --

v 1.01 - Oct 06, 06 - Fix search
v 1.00 - Aug 23, 06

* btJunkieEngine.php (11.42 KB - downloaded 2083 times.)
« Last Edit: 10-06-2006, 16:20:32 by kboy » Logged
 
nobbie
Newbie
*
Offline Offline

TF Base: Linux 2.x
Posts: 2



View Profile
« Reply #1 on: 10-02-2006, 20:04:04 »

hey kboy. thanks for the great scripts.

this one doesn't seem to be working for me, though. the "latest torrents" part works, but searching is always returning zero results. i'm running torrentflux 2.1 on linux (with php5).

thanks,
nobbie
Logged
kboy
Global Moderator
Jr. Member
*****
Offline Offline

Posts: 79





View Profile
« Reply #2 on: 10-06-2006, 16:20:18 »

download the lastest and let me know if that works for you.
Logged
nobbie
Newbie
*
Offline Offline

TF Base: Linux 2.x
Posts: 2



View Profile
« Reply #3 on: 10-12-2006, 16:10:58 »

hey kboy.

unfortunately, the new one (v1.01) isn't working for me either. i'm still seeing zero results searching for something i know is on btJunkie.

if there's anything i can do to help, let me know.
Logged
kendokar
Newbie
*
Offline Offline

TF Base: Linux 2.x
Posts: 9



View Profile
« Reply #4 on: 10-16-2006, 00:43:54 »



same for me.. got zero result...
Logged
kboy
Global Moderator
Jr. Member
*****
Offline Offline

Posts: 79





View Profile
« Reply #5 on: 10-16-2006, 22:23:54 »

do you have the php curl libraries installed ?
Logged
Qrome
Administrator
Hero Member
*****
Offline Offline

TF Base: Linux 2.x
Posts: 2783


TorrentFlux.com





View Profile
« Reply #6 on: 10-18-2006, 00:05:23 »

Some of these servers respond with 302 redirects in the headers, if TorrentFlux gets this, then it rolls over to use the CURL libs to handle fetching the data.   If you don't have CURL libs installed then you will get blank results.
Logged

Check out the new FireFox Extension by IceWind for TorrentFlux called TorrentFlux Add -- right click on torrents and have them added to your TorrentFlux list.
kendokar
Newbie
*
Offline Offline

TF Base: Linux 2.x
Posts: 9



View Profile
« Reply #7 on: 10-18-2006, 02:11:11 »


i have this on my box.. does it fit?

ii  curl                                   7.15.1-1ubuntu2                        Get a file from an HTTP, HTTPS, FTP or GOPHE
ii  libcurl3                               7.15.1-1ubuntu2                        Multi-protocol file transfer library
ii  libcurl3-gnutls                        7.15.1-1ubuntu2                        Multi-protocol file transfer library
ii  libwww-curl-perl                       3.02-1                                 Perl bindings to libcurl
ii  php4-curl                              4.4.2-1build1                          CURL module for php4
ii  python2.4-pycurl                       7.15.0-1ubuntu1                        Python bindings to libcurl
Logged
Qrome
Administrator
Hero Member
*****
Offline Offline

TF Base: Linux 2.x
Posts: 2783


TorrentFlux.com





View Profile
« Reply #8 on: 10-18-2006, 17:25:45 »

Do you have the cookie set under your profile?
Logged

Check out the new FireFox Extension by IceWind for TorrentFlux called TorrentFlux Add -- right click on torrents and have them added to your TorrentFlux list.
kendokar
Newbie
*
Offline Offline

TF Base: Linux 2.x
Posts: 9



View Profile
« Reply #9 on: 10-19-2006, 05:18:20 »


i set on cookie management..  and the search result still got nothing..
Logged
Nightwisher
Newbie
*
Offline Offline

Posts: 35



View Profile
« Reply #10 on: 05-18-2007, 08:01:12 »

Working perfect thanks a lot
Logged
Ashex
Newbie
*
Offline Offline

Posts: 8




View Profile WWW
« Reply #11 on: 07-08-2007, 17:52:09 »

I'm not having much luck with this one. I get zero results from searches, I've got the btjunkie cookie loaded up and curl php libraries installed.
Logged
torrentslave
Newbie
*
Offline Offline

Posts: 2



View Profile
« Reply #12 on: 06-15-2008, 15:23:30 »

BitJunkie is a great search engine, but need a few more changes to get it working, ready?

Lines (164, 166, 218):
look for "do=gear" and replace with "do=copyrights"

Line 170, replace line with:
$tmpList = $thing;


Line 182, replace line with:
if (strpos($value,"/download.torrent"))

Line 281, replace line with:
$tmpStr = substr($tmpListArr[0],strpos($tmpListArr[0],"/torrent/"),strpos($tmpListArr[0],"><img")-17);

Lines 278 to Line 298:
Look for all instances of $tmpListArr["x"]:
replace $tmpListArr["0"] with $tmpListArr[0]
replace $tmpListArr["1"] with $tmpListArr[3]
replace $tmpListArr["2"] with $tmpListArr[4]
replace $tmpListArr["4"] with $tmpListArr[5]
replace $tmpListArr["5"] with $tmpListArr[6]
* Note that all the double quotes are removed!

That's it.  Have fun!
Logged
Kyn3s
Newbie
*
Offline Offline

Posts: 1



View Profile
« Reply #13 on: 09-25-2008, 12:23:56 »

Hi there !

Thanks torrentslave. This trick worked for me. The original file was not returning any results.

Please note I add to change (Line 281) in addition to torrentslave's changes:
Code:
$tmpStr = substr($tmpListArr[0],strpos($tmpListArr[0],"/torrent/"),strpos($tmpListArr[0],"><img")-17);
with:
Code:
$tmpStr = substr($tmpListArr[0],strpos($tmpListArr[0],"torrent/"),strpos($tmpListArr[0],"><img")-17);


I also changed:
Code:
$this->updateURL = "http://www.torrentflux.com/forum/index.php/topic,1815.0.html";
Logged
NiX_IT
Newbie
*
Offline Offline

Posts: 2



View Profile
« Reply #14 on: 10-14-2008, 19:45:18 »

BitJunkie is a great search engine, but need a few more changes to get it working, ready?

Lines (164, 166, 218):
look for "do=gear" and replace with "do=copyrights"

Line 170, replace line with:
$tmpList = $thing;


Line 182, replace line with:
if (strpos($value,"/download.torrent"))

Line 281, replace line with:
$tmpStr = substr($tmpListArr[0],strpos($tmpListArr[0],"/torrent/"),strpos($tmpListArr[0],"><img")-17);

Lines 278 to Line 298:
Look for all instances of $tmpListArr["x"]:
replace $tmpListArr["0"] with $tmpListArr[0]
replace $tmpListArr["1"] with $tmpListArr[3]
replace $tmpListArr["2"] with $tmpListArr[4]
replace $tmpListArr["4"] with $tmpListArr[5]
replace $tmpListArr["5"] with $tmpListArr[6]
* Note that all the double quotes are removed!

That's it.  Have fun!


Hi there !
Thanks torrentslave. This trick worked for me. The original file was not returning any results.

Please note I add to change (Line 281) in addition to torrentslave's changes:
Code:
$tmpStr = substr($tmpListArr[0],strpos($tmpListArr[0],"/torrent/"),strpos($tmpListArr[0],"><img")-17);
with:
Code:
$tmpStr = substr($tmpListArr[0],strpos($tmpListArr[0],"torrent/"),strpos($tmpListArr[0],"><img")-17);


I also changed:
Code:
$this->updateURL = "http://www.torrentflux.com/forum/index.php/topic,1815.0.html";

What are you guys using for an editor as NONE of these are correlating via lines in either gedit or vi on my end?  I have also cut and pasted searching for the exact strings that you posted Kyn3s with no luck.  I have located ($tmpListArr[ ]) strings but nothing correlates exactly what your posting....  I'm using the latest version 1.01 search plugin with TF2.4 on my CentOS 5 server but that shouldn't really matter with modifying one php file.

One more question.  Everything involved with this project is open source so why are people not uploading changed versions of this if it improves/corrects it?  Forgive me if I'm out of line on my first post but I'm just trying to wrap my head around this because I LOVE TF.  I'm more than willing to dig into the code and replace things if it is posted and I can go to line X and insert string Y but I am not a coder.  I will be more than willing to upload a modified version of this for others to download in the future or put it accessible on my webserver.  Anyone willing to donate, upload, email me their modified version or offer out a hand in guidance.  Maybe I'm missing something obvious as I am heavily medicated and ill this week.

Thanks in advance and keep up the great work with this awesome project.
Logged
zodex
Newbie
*
Offline Offline

Posts: 1



View Profile
« Reply #15 on: 02-27-2009, 08:51:27 »

Could anyone give me an example of cookie info from btjunkie.  I don't see a uid or pass field in my cookies from the site.  I have an account there.
Logged
alcorrr
Newbie
*
Offline Offline

Posts: 1



View Profile
« Reply #16 on: 12-09-2009, 08:40:43 »


What are you guys using for an editor as NONE of these are correlating via lines in either gedit or vi on my end?  I have also cut and pasted searching for the exact strings that you posted Kyn3s with no luck.  I have located ($tmpListArr[ ]) strings but nothing correlates exactly what your posting....  I'm using the latest version 1.01 search plugin with TF2.4 on my CentOS 5 server but that shouldn't really matter with modifying one php file.

One more question.  Everything involved with this project is open source so why are people not uploading changed versions of this if it improves/corrects it?  Forgive me if I'm out of line on my first post but I'm just trying to wrap my head around this because I LOVE TF.  I'm more than willing to dig into the code and replace things if it is posted and I can go to line X and insert string Y but I am not a coder.  I will be more than willing to upload a modified version of this for others to download in the future or put it accessible on my webserver.  Anyone willing to donate, upload, email me their modified version or offer out a hand in guidance.  Maybe I'm missing something obvious as I am heavily medicated and ill this week.

Thanks in advance and keep up the great work with this awesome project.

The line numbers are doubled. I made the changes, except the one at line 182, couldn't find that one, and it still doesn't work for me.

If i get it to work i'll post the new file, altho i might just rewrite it.
Logged
someguy_1
Newbie
*
Offline Offline

Posts: 6



View Profile
« Reply #17 on: 01-10-2010, 10:25:26 »

Is this btjunkie search still working for anyone?

I've updated the php file as per torrentslave and Kyn3s, but my searches are still returning blank.
Logged
Pages: 1 2 [All] Go Up Print 
« previous next »
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by SMF 1.1.1 | SMF © 2006, Simple Machines LLC Powered by PHP