Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to using torrent file not magnet url ? #1281

Closed
nikitaknyzevskiy opened this issue Feb 1, 2018 · 1 comment
Closed

How to using torrent file not magnet url ? #1281

nikitaknyzevskiy opened this issue Feb 1, 2018 · 1 comment

Comments

@nikitaknyzevskiy
Copy link

@nikitaknyzevskiy nikitaknyzevskiy commented Feb 1, 2018

What version of WebTorrent?

What operating system and Node.js version?

What browser and version? (if using WebTorrent in the browser)

What did you expect to happen?

What actually happened?

@DiegoRBaquero

This comment has been minimized.

Copy link
Member

@DiegoRBaquero DiegoRBaquero commented Feb 1, 2018

From: https://github.com/webtorrent/webtorrent/blob/master/docs/api.md#clientaddtorrentid-opts-function-ontorrent-torrent-

torrentId can be one of:

    magnet uri (string)
    torrent file (buffer)
    info hash (hex string or buffer)
    parsed torrent (from parse-torrent)
    http/https url to a torrent file (string)
    filesystem path to a torrent file (string) (Node.js only)
@lock lock bot locked as resolved and limited conversation to collaborators May 25, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.