All Projects → bttown → Metadata

bttown / Metadata

Licence: mit
a infohash metadata collector

Programming Languages

go
31211 projects - #10 most used programming language
golang
3204 projects

Projects that are alternatives of or similar to Metadata

torrent-spider
基于DHT的p2p网络资源爬虫
Stars: ✭ 65 (+209.52%)
Mutual labels:  metadata, torrent, dht
Torrent Discovery
Discover BitTorrent and WebTorrent peers
Stars: ✭ 177 (+742.86%)
Mutual labels:  dht, torrent
Bt
BitTorrent library and client with DHT, magnet links, encryption and more
Stars: ✭ 2,011 (+9476.19%)
Mutual labels:  dht, torrent
Medusa
Automatic Video Library Manager for TV Shows. It watches for new episodes of your favorite shows, and when they are posted it does its magic.
Stars: ✭ 1,268 (+5938.1%)
Mutual labels:  metadata, torrent
Ssbc
手撕包菜网站
Stars: ✭ 1,382 (+6480.95%)
Mutual labels:  dht, torrent
Snail
基于Java、JavaFX开发的下载工具,支持下载协议:BT(BitTorrent、磁力链接、种子文件)、HLS(M3U8)、FTP、HTTP。人家才不要你的⭐⭐呢,哼
Stars: ✭ 102 (+385.71%)
Mutual labels:  dht, torrent
Dht
dht is used by anacrolix/torrent, and is intended for use as a library in other projects both torrent related and otherwise
Stars: ✭ 184 (+776.19%)
Mutual labels:  dht, torrent
Torrent Paradise
Decentralized DHT search site for IPFS
Stars: ✭ 181 (+761.9%)
Mutual labels:  dht, torrent
bthello
Python3 DHT 磁力种子爬虫 种子解析 种子搜索 演示地址
Stars: ✭ 43 (+104.76%)
Mutual labels:  torrent, dht
peerstohttp
Simple torrent proxy to http stream controlled over REST-like api
Stars: ✭ 30 (+42.86%)
Mutual labels:  torrent, dht
Gdht
A distributed self-host DHT torrent search suite
Stars: ✭ 86 (+309.52%)
Mutual labels:  dht, torrent
torrent
Bittorrent library implemented in pure Dart. [WIP, early development stage]
Stars: ✭ 26 (+23.81%)
Mutual labels:  torrent, dht
Antcolony
Nodejs实现的一个磁力链接爬虫 http://findit.keenwon.com (原域名http://findit.so )
Stars: ✭ 1,151 (+5380.95%)
Mutual labels:  dht, torrent
Magnet And Torrent Search Engine
磁力链接和 BT 种子的搜索引擎
Stars: ✭ 154 (+633.33%)
Mutual labels:  dht, torrent
Bittorrent Dht
🕸 Simple, robust, BitTorrent DHT implementation
Stars: ✭ 1,004 (+4680.95%)
Mutual labels:  dht, torrent
Phpdhtspider
php实现的dht爬虫
Stars: ✭ 248 (+1080.95%)
Mutual labels:  metadata, dht
gude
gude - 一个C++编写的DHT爬虫,用于爬取DHT网络上的torrent文件
Stars: ✭ 190 (+804.76%)
Mutual labels:  torrent, dht
Torsniff
torsniff - a sniffer that sniffs torrents from BitTorrent network
Stars: ✭ 3,800 (+17995.24%)
Mutual labels:  metadata, dht
Win Version Info
Windows-only native addon to read version info from executables.
Stars: ✭ 5 (-76.19%)
Mutual labels:  metadata
Community
General discussion, cross-repo efforts and common information for projects in the community.
Stars: ✭ 24 (+14.29%)
Mutual labels:  metadata

metadata

Build Status

a high-performance torrents collector.

Install

go get -u github.com/bttown/metadata

Usage

func saveTorrentFile(req metadata.Request, torrent metadata.Torrent) {
	torrentName := fmt.Sprintf("%s.torrent", torrent.Info.Name)
	f, err := os.Create(torrentName)
	if err != nil {
		log.Println("fail to create torrent file", err)
		return
	}
	defer f.Close()

	f.Write(torrent.Bytes())
}

func main() {
	var c = metadata.NewCollector()
	defer c.Close()

	ip, peerID, hashInfo := os.Args[1], os.Args[3], os.Args[4]
	port, _ := strconv.Atoi(os.Args[2])

	req := metadata.Request{
		IP:       ip,
		Port:     port,
		HashInfo: hashInfo,
		PeerID:   peerID,
	}

	log.Println(c.GetSync(&req, saveTorrentFile, nil))
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].