Igor Starikov

Results 248 comments of Igor Starikov

About the link. `libtorrent` is a full featured torrent client library. To implement full `.torrent` file reconstruction from a magnet link one needs to: implement DHT (BEP5) client, which will...

This link is primarily about uri parsing. Magnet links may include as little as only ``info hash``, so no information about trackers, files etc. may be available. Given that we...

Thank you. > Maybe you can improve your performance. It might be so, yet do you have any particular reason to strive for numbers?

> I'm indexing thousands of torrents and serving hundred thousand torrent scrape requests. I see. Thank you. > decode better-bencode 0.98 s That's С, not Python.

Нужно скорректировать тесты, а то попадали.

Да, интересно получается. Можно попробовать находить общий префикс у файлов и не добавлять его, если он уже есть. А что это за известная проблема, на неё есть задача в каком-нибудь...

> Хранить путь загрузки в TorrentData, а не использовать параметр из api. Боюсь, что тут могут возникнуть проблемы с обратной совместимостью. Сейчас источником данных является торрент-клиент, а торрт всего лишь...

Пока только такие варианты, один исследовательский, два радикальных: * Можно попробовать находить общий префикс у файлов и не добавлять его, если он уже есть. Вероятно тут же можно поиграться с...

Thank you. Before we proceed, can you elaborate on why do you want to apply proxies exclusively to rutracker, but not for others, what's the usecase?

> I think it's not difficult to patch all of methods, but I inspected only calls I used and didn't look into other parts of code. Ok, let's introduce it....