1 rutrackerer -- index and search through Rutracker's XML
3 Rutracker is located now beneath Cloudflare, so you can not use it
4 anymore without compromising your computer with required downloadable
7 But you can get its full contents (without comments) in XML form from
8 https://rutracker.org/forum/viewtopic.php?t=5591249
10 $ curl "http://api.rutracker.org/v1/get_tor_hash?by=topic_id&val=5591249"
11 {"result":{"5591249":"FE63F7FA266E8F3F812FF637EB9025413CB58D51"}}
12 $ aria2c "magnet:?xt=urn:btih:FE63F7FA266E8F3F812FF637EB9025413CB58D51"
14 It is recommended to recompress it with Zstandard, to save the space and
15 quickly feed in further commands. That XML is huge, so you can get some
16 troubles searching in it quickly. So here are the indexer, that extracts
17 titles, sizes, hashes and XML offsets:
19 $ cmd/index < rutracker-XXX.xml | cmd/repack > rutracker.gob
21 On my computer that takes seven minutes.
23 After that, you can search the desired title like that:
25 $ cmd/search -i "borknagar .* origin" < rutracker.gob
26 (Avantgarde/Folk/Black Metal) Borknagar - Коллекция (6 Original CD) [...]
27 2011-06-13T12:05:00 2.1 GiB 10625776348
28 https://rutracker.org/forum/viewtopic.php?t=3571053
29 magnet:?xt=urn:btih:69A167FC69640304D0EF410ADDFBED80C1156989
30 (Rock, Acoustic) [LP] [24/96] Borknagar - Origin - 2018 (2006), FLAC
31 2021-04-14T10:25:00 762 MiB 22050441855
32 https://rutracker.org/forum/viewtopic.php?t=6040594
33 magnet:?xt=urn:btih:E562633975C28E3CC385F7AD7446D53B3DD883D1
35 Titles are fed into external "grep" command's stdin and all command
36 line arguments are also proxied as is. GNU Grep is really pretty fast at
39 Optionally you can view corresponding contents from that XML, by
42 $ zstd -d < rutracker-XXX.xml.zst | cmd/show 22050441855
43 <title>(Rock, Acoustic) [LP] [24/96] Borknagar – Origin - 2018 (2006) [...]
44 <torrent hash="E562633975C28E3CC385F7AD7446D53B3DD883D1" tracker_id="2"/>
45 <forum id="1756">Hi-Res форматы, оцифровки - Оцифровки с аналоговых [...]
46 [b]Жанр[/b]: Rock, Acoustic
48 [b]Год выпуска[/b]: 2018 (2006)
49 [b]Лейбл[/b]: Cosmic Key Creations ‎– CKC041
50 [b]Страна-производитель[/b]: Netherlands
51 [b]Аудио кодек[/b]: FLAC
52 [b]Тип рипа[/b]: tracks
53 [b]Формат записи[/b]: 24/96
54 [b]Формат раздачи[/b]: 24/96
55 [b]Продолжительность[/b]: 00:35:32