Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7687191
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T19:38:57+00:00 2026-05-31T19:38:57+00:00

I’m using PeerTracker http://en.wikipedia.org/wiki/PeerTracker to track torrent hashes. I have a simple HTML page

  • 0

I’m using PeerTracker http://en.wikipedia.org/wiki/PeerTracker 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.

edit:
So my question would be how would I take the information returned by scrape.php and display it on a HTML page

“The response of this HTTP GET method is a “text/plain” or sometimes gzip compressed document consisting of a bencoded dictionary”

When I run

GET -uUsSed http://Tracker.SpaceAgeMinds.com:80/scrape.php

on my linux machine I get the following.

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 --> 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

If it helps:
http://www.ohloh.net/p/peertracker
http://code.google.com/p/peertracker/
http://en.wikipedia.org/wiki/BitTorrent_%28protocol%29
http://Tracker.SpaceAgeMinds.com/scrape.php
or just
http://Tracker.SpaceAgeMinds.com/scrape

  • 1 1 Answer
  • 2 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T19:38:59+00:00Added an answer on May 31, 2026 at 7:38 pm

    the scrape.php will output a simple text, when called with the stats argument. For example the url

    http://tracker.example.com/scrape.php?stats 
    

    will output something like this:

    5 peers (5 seeders + 0 leechers) in 3 torrents
    

    If you have another php script, you can invoke the scrape file with this command:

    <?php include('http://tracker.example.com/scrape.php?stats') ?>
    

    EDIT: I also wanted to say that you can display the output in xml or json format as well. Please reference the call below:

    http://tracker.example.com/scrape.php?stats=xml
    
    http://tracker.example.com/scrape.php?stats=json
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like my Web page http://www.gmarks.org/math_in_e-mail.txt on my Apache 2.2.14 server to display
I have thousands of HTML files to process using Groovy/Java and I need to
I'm making a simple page using Google Maps API 3. My first. One marker
I have a .ini file as follows: [playlist] numberofentries=2 File1=http://87.230.82.17:80 Title1=(#1 - 365/1400) Example
I'm new to using the Perl treebuilder module for HTML parsing and can't figure
That's pretty much it. I'm using Nokogiri to scrape a web page what has
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have just tried to save a simple *.rtf file with some websites and
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I have this code to decode numeric html entities to the UTF8 equivalent character.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.