Skip to content

Instantly share code, notes, and snippets.

@whalehulk
Last active August 15, 2018 14:30
Show Gist options
  • Save whalehulk/cf4f0aa73ab853003950dae9807e5e9e to your computer and use it in GitHub Desktop.
Save whalehulk/cf4f0aa73ab853003950dae9807e5e9e to your computer and use it in GitHub Desktop.
torrent-cloud-search
{
"audiobookbay": {
"name": "AudioBookBay",
"type": "screen-scraper",
"list": {
"url": "http://audiobookbay.to/page/{page}?s={query}",
"items": "#content > div",
"item": {
"name":"div.postTitle > h2 > a@title",
"url":"div.postTitle > h2 > a@href",
"seeds": "div.postContent > p:nth-child(3) > span:nth-child(1)",
"peers": "div.postContent > p:nth-child(3) > span:nth-child(3)"
}
},
"item": {
"infohash": "/td>([a-f0-9]+)</",
"tracker": "table tr:nth-child(1) > td:nth-child(2)"
}
},
"kickass": {
"name": "Kickass Torrents",
"type": "screen-scraper",
"list": {
"url": "https://kickass.so/usearch/{query}/{page}/?field=seeders&sorder=desc",
"items": "#mainSearchTable table tr[id]",
"item": {
"name":".cellMainLink",
"url":".cellMainLink@href",
"magnet": "a[title=Torrent\\ magnet\\ link]@href",
"size": "td.nobr.center",
"seeds": ".green.center",
"peers": ".red.center"
}
}
},
"piratebay": {
"name": "The Pirate Bay",
"type": "screen-scraper",
"list": {
"url": "https://thepiratebay.se/search/{query}/{zpage}/7//",
"items": "#searchResult > tr",
"item": {
"name":"a.detLink",
"url":"a.detLink@href",
"magnet": "a[title=Download\\ this\\ torrent\\ using\\ magnet]@href",
"size": "/Size (\\d+(\\.\\d+)&#xA0;[KMG]iB)/",
"seeds": "td:nth-child(3)",
"peers": "td:nth-child(4)"
}
}
},
"mininova": {
"name": "Mininova",
"type": "screen-scraper",
"list": {
"url": "http://www.mininova.org/search/{query}/seeds/{page}",
"items": ".maintable > tr",
"item": {
"name":"td:nth-child(3) > a:nth-child(2)",
"url":"td:nth-child(3) > a:nth-child(2)@href",
"size": "td:nth-child(4)",
"seeds": "td:nth-child(5)",
"peers": "td:nth-child(6)"
}
},
"item": {
"magnet": "#download a:nth-child(3)@href"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment