Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Template Shares (http://www.bvlist.com/forumdisplay.php?f=26)
-   -   TS SE 5.6 Scrape (http://www.bvlist.com/showthread.php?t=8104)

Simulator 3rd July 2012 20:15

TS SE 5.6 Scrape
 
Hello!

I tried all of them in the forum, none of them worked. Is there anyone who could make it work?

Thanks.

x360zone 3rd July 2012 21:02

hi
 
yes thanx

shared or vps hosting

Simulator 3rd July 2012 21:08

What's the difference? I have one server with more sites using virtual hosting. (ISPCP) And magic_quotes are ON with PHP ver 5.3.2

x360zone 4th July 2012 10:49

hi
 
the only reason scrape dont usually work is vps or the hosting
myself have tested many vps nodes from many places and hosts.

for example virpus vps cheap and dont run the scrape
my example i run in another location runs fine just because you have various things on the host dont mean that it will run anything mate
another example on my shared hosting external works fine but private scrape wont due to limitations i know mine run fine on all m,y locations thats why i choose then for sales
what error are you getting

Simulator 4th July 2012 10:50

No error, just 0 0 seed and leecher in client. Which scrape do you use? Made by Conjo? :)

x360zone 4th July 2012 10:52

HI
 
could be a few things
1. you
2.the host
3.initial setup wrong

ill help out no problems but if you wanted me to take a look and test myself
there would be a small fee

Simulator 4th July 2012 11:04

Where can i see the errors? Is there any logfile?

x360zone 4th July 2012 11:06

?
 
your bit client does it show as seeding green or red with tracker error message in it?

Simulator 4th July 2012 11:10

Green, and found all the peers, but not displaying them.

x360zone 4th July 2012 11:25

hi
 
downgrade your utorrent or change and try another client

Simulator 4th July 2012 12:43

Tried to downgrade until Utorrent 1.8.2, still no work.

But what does it mean, if i get in scrape.php?info_hash=F2F1A5D743274E5EC :

d5:filesdee

?

I'm using this scrape.php:

Code:


//ts scrape fixed by NightCrawler for TS 5.6 26/06/2010

function fast_db_connect ()
  {
    $dbfile = './config/DATABASE';
    if (!file_exists ($dbfile))
    {
      exit ('DATABASE Configuration file does not exists');
      return null;
    }

    $data = unserialize (@file_get_contents ($dbfile));
    if (!($connect = mysql_connect ($data['mysql_host'], $data['mysql_user'], $data['mysql_pass'])))
    {
      exit ('Error: Mysql Connection!');
      ;
    }

    if (!(mysql_select_db ($data['mysql_db'], $connect)))
    {
      exit ('Error: Mysql DB Selection!');
      ;
    }

    unset ($data);
  }

 
   
  fast_db_connect();

function hash_where($name, $hash)
  {
    $shhash = strtolower("('$hash')");
    return "$name = '" . mysql_real_escape_string($hash) . "'";
  }


  $r = 'd5:filesd';

  $fields = "info_hash, times_completed, seeders, leechers";
 
  if (get_magic_quotes_gpc())
  $info_hash = stripslashes($_GET["info_hash"]);
 
  if (!isset ($info_hash))
  {
    exit ('Permission denied!');
  }
 
  if (!isset($info_hash))
    $query = "SELECT $fields FROM torrents ORDER BY info_hash";
  else
    $query = "SELECT $fields FROM torrents WHERE " . hash_where( "info_hash", @pack('H*', stripslashes( $info_hash ) ));

  $res = mysql_query($query);

  while ($row = mysql_fetch_assoc($res))
  {
    $r .= '20:'.str_pad($row['info_hash'], 20).'d8:completei'.$row['seeders'].'e10:downloadedi'.$row['times_completed'].'e10:incompletei'.$row['leechers'].'ee';
  }

  $r .= 'ee';

  header("Content-Type: text/plain");
  echo $r;
 
mysql_close();
?>

EDIT: Finally made it, i have this when i enter a hash in scrape.php:

d5:filesd20:’ťšÁŹŤ!ćgŕä˝Ŕâ@d8:completei1e10:d ownloadedi0e10:incompletei0eeee

But in utorrent still there's no seeders and leechers in trackers tab!

Black1 4th July 2012 15:23

Solution
 
1 Attachment(s)
1) Use the scrape I uploaded as attachment
2) Recompile apache to Apache v2.2.22 (cgi)
3) Use the PHP 5.2.9 version
4) As you are on VPS set PHP Memory Limit = -1
5) Use MYSQL 5.1.63-cll version
6) Disable Magic Quotes
(TSSE 5.6 is an old script and doent work with the latest versions of
php sql and apache)

G00d luck and have fun!

firefly007 4th July 2012 15:27

Quote:

Originally Posted by Simulator (Post 35608)
No error, just 0 0 seed and leecher in client. Which scrape do you use? Made by Conjo? :)

Have you turned off waittime ????

Simulator 4th July 2012 17:15

Vuzewiki says, the scrape reply should be like this:

d5:filesd20:xxxxxxxxxxxxxxxxxxxxd8:completei2e10:d ownloadedi0e10:incompletei4e 4:name12:xxxxxxxxxxxxee5:flagsd20:min_request_inte rvali3600eee

What if my scrape won't give

name12:xxxxxxxxxxxxee5:flagsd20:min_request_interv ali3600eee this? Is it a problem maybe? :)

What waittime? :)

Bump:
Quote:

Originally Posted by Black1 (Post 35618)
1) Use the scrape I uploaded as attachment
2) Recompile apache to Apache v2.2.22 (cgi)
3) Use the PHP 5.2.9 version
4) As you are on VPS set PHP Memory Limit = -1
5) Use MYSQL 5.1.63-cll version
6) Disable Magic Quotes
(TSSE 5.6 is an old script and doent work with the latest versions of
php sql and apache)

G00d luck and have fun!

This scrape not working. It says, invalid hash.


All times are GMT +2. The time now is 06:35.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.