json 洪流云搜索

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了json 洪流云搜索相关的知识,希望对你有一定的参考价值。

{
	"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"
		}
	}
}

以上是关于json 洪流云搜索的主要内容,如果未能解决你的问题,请参考以下文章

Python实例之抓取网易云课堂搜索数据(post方式json型数据)并保存为TXT

英特尔发布至强可扩展处理器,业界十年来技术最大进步(核心思想:数据洪流出现)

多元化的未来,OpenStack的铮铮前行

多元化的未来,OpenStack的铮铮前行

亚马逊云搜索查询

比特洪流如何在专用网络中工作?