Code Monkey home page Code Monkey logo

Comments (4)

KiraLT avatar KiraLT commented on June 9, 2024

I added selector support for API. You can find documentation here.

But I am not sure about fileIndex parameter. Why should you wish to select a file by index? Do torrent files even has some specific order? When I display files, I re-sort them by file names.

Also, by default (or when selector matches multiple files) API returns the biggest file, which I think makes sense.

from torrent-stream-server.

omgbox avatar omgbox commented on June 9, 2024

I added selector support for API. You can find documentation here.

But I am not sure about fileIndex parameter. Why should you wish to select a file by index? Do torrent files even has some specific order? When I display files, I re-sort them by file names.

Also, by default (or when selector matches multiple files) API returns the biggest file, which I think makes sense.

When I display files, I re-sort them by file names.

brilliantly fast work, you did it, &fileType=video%2Fmp4&fileIndex=1 , now users can select which file in multifile torrent to play from cli

i noticed some issue maybe is this normal or it should be &fileType=video/mp4&fileIndex=1 is there some space issue in swagger, it seemed to replace / to %2F to output.

another good torrent indexer, search based on ipfs, even if they take out the domain, users can still access the database through any public ipfs gateway. thepiratebay is good but its not being updated anymore with new content.

from torrent-stream-server.

KiraLT avatar KiraLT commented on June 9, 2024

it seemed to replace / to %2F to output

That is the correct behavior. All parameters are encoding using encodeURIComponent. Well, technically without encoding also works (at least in most cases).

another good torrent indexer, search based on ipfs, even if they take out the domain, users can still access the database through any public ipfs gateway

It looks interesting. The only issue is that you can't filter by category.

from torrent-stream-server.

omgbox avatar omgbox commented on June 9, 2024

it seemed to replace / to %2F to output

That is the correct behavior. All parameters are encoding using encodeURIComponent. Well, technically without encoding also works (at least in most cases).

another good torrent indexer, search based on ipfs, even if they take out the domain, users can still access the database through any public ipfs gateway

It looks interesting. The only issue is that you can't filter by category.

shame , the developer especially disabled that feature to make it simple to use. ehh

from torrent-stream-server.

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.