Git Product home page Git Product logo

Comments (2)

rawrke avatar rawrke commented on September 25, 2024 1

Oh woops, yeah I see that the trackers are not continuous from 1...428 after all. I was just going off of count, my bad!

trackers["443"]

returns

{
  'id': 443,
  'name': 'Coulus Coelib',
  ...
}

thanks for the response, i'll close the ticket

from exodus.

codeurimpulsif avatar codeurimpulsif commented on September 25, 2024

Hi @rawrke,

I think you're confused by the trackers ID. At the time of writing this, there is 428 trackers in exodus database, the numbers you are refering to are trackers ID in exodus database.

Yes the last tracker added is tracker ID 443 "Coulus Coelib" but there is only 428 trackers. For example you can't find any tracker with ID 21 in the database. It's because sometime we remove trackers for some reasons.

This page show there is 428 trackers: https://reports.exodus-privacy.eu.org/en/trackers/

Your script don't check the last tracker ID but the tracker ID corresponding to the total number of trackers, here a change to this script to check the list, so we can see trackers 429 to 443:

import requests

response = requests.get(url=f"https://reports.exodus-privacy.eu.org/api/trackers")

trackers = response.json()["trackers"]
n_trackers = len(trackers)

for tracker in trackers:
    print(tracker, ":", trackers[tracker]['name'])

print("Number of trackers:", n_trackers)

Does that seem clearer?

from exodus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.