Note that there are some explanatory texts on larger screens.

plurals
  1. PODisplay PeerTracker stats, PHP and HTML
    primarykey
    data
    text
    <p>I'm using PeerTracker <a href="http://en.wikipedia.org/wiki/PeerTracker" rel="nofollow">http://en.wikipedia.org/wiki/PeerTracker</a> to track torrent hashes. I have a simple HTML page to display information about the tracker like its announce url. The tracker comes with announce.php and scrape.php where announce is used to tell the tracker you have a hash to be tracked and scrape is used to return stats and information on the tracker or specific hashes. I would like to be able to use scrape.php to return the total number of hashes being tracked and the total number of peers for the entire tracker. I'm pretty much stuck because I don't know the Bittorrent standard to retrieve that information and if its even implemented the same way on PeerTracker and I'm also not sure how I would call and display this information on an HTML page using scrape.php.</p> <p>edit: So my question would be how would I take the information returned by scrape.php and display it on a HTML page</p> <p>"The response of this HTTP GET method is a "text/plain" or sometimes gzip compressed document consisting of a bencoded dictionary"</p> <p>When I run</p> <pre><code>GET -uUsSed http://Tracker.SpaceAgeMinds.com:80/scrape.php </code></pre> <p>on my linux machine I get the following.</p> <pre><code>GET http://Tracker.SpaceAgeMinds.com:80/scrape.php User-Agent: lwp-request/5.834 libwww-perl/5.836 GET http://Tracker.SpaceAgeMinds.com:80/scrape.php --&gt; 200 OK Connection: close Date: Thu, 24 Nov 2011 05:46:32 GMT Server: Apache mod_qos/9.69 mod_fcgid/2.3.6 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Content-Length: 0 Content-Type: text/html Client-Date: Thu, 24 Nov 2011 05:46:33 GMT Client-Peer: 184.172.188.79:80 Client-Response-Num: 1 X-Powered-By: PHP/5.2.17 </code></pre> <p>If it helps:<br> <a href="http://www.ohloh.net/p/peertracker" rel="nofollow">http://www.ohloh.net/p/peertracker</a><br> <a href="http://code.google.com/p/peertracker/" rel="nofollow">http://code.google.com/p/peertracker/</a><br> <a href="http://en.wikipedia.org/wiki/BitTorrent_%28protocol%29" rel="nofollow">http://en.wikipedia.org/wiki/BitTorrent_%28protocol%29</a><br> <a href="http://Tracker.SpaceAgeMinds.com/scrape.php" rel="nofollow">http://Tracker.SpaceAgeMinds.com/scrape.php</a><br> or just<br> <a href="http://Tracker.SpaceAgeMinds.com/scrape" rel="nofollow">http://Tracker.SpaceAgeMinds.com/scrape</a><br></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload