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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get Meta Data #4

Closed
BassemN opened this issue Mar 1, 2017 · 2 comments
Closed

Get Meta Data #4

BassemN opened this issue Mar 1, 2017 · 2 comments

Comments

@BassemN
Copy link

BassemN commented Mar 1, 2017

Hi,

Great library 馃憤
How can I get meta data like directory/torrent name ?

Thanks

@medariox
Copy link
Owner

medariox commented Mar 2, 2017

Unfortunately, the tracker scrape convention doesn't provide that kind of information. It has only information for completed, leechers, seeders and optionally the name of the torrent. Since the name is optional it is almost never included, at least for public trackers. Nonetheless, I will try to include it in the next major version.

To retrieve that kind of information you will need the torrent file and some library to BEncode the data. torrent-bencode can do that for example. Good luck!

@BassemN
Copy link
Author

BassemN commented Mar 2, 2017

Thanks for getting back to me with your prompt reply.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants