diff --git a/HISTORY.md b/HISTORY.md new file mode 100644 index 0000000..dd3eb80 --- /dev/null +++ b/HISTORY.md @@ -0,0 +1,5 @@ +## 07.05.2013 + +* add torrent downloader which will download torrents and store them in database or local file system +* hash_reader now use local torrents first, if not it will download, and depends on the config it may save the file too + diff --git a/ebin/config.beam b/ebin/config.beam new file mode 100644 index 0000000..2ea1044 Binary files /dev/null and b/ebin/config.beam differ diff --git a/ebin/db_hash_reader.beam b/ebin/db_hash_reader.beam index 8444775..cf79be6 100644 Binary files a/ebin/db_hash_reader.beam and b/ebin/db_hash_reader.beam differ diff --git a/ebin/db_hash_reader_sup.beam b/ebin/db_hash_reader_sup.beam index 000ab2f..8bbe7ec 100644 Binary files a/ebin/db_hash_reader_sup.beam and b/ebin/db_hash_reader_sup.beam differ diff --git a/ebin/db_loc_torrent.beam b/ebin/db_loc_torrent.beam index 3bc9a18..38a9a43 100644 Binary files a/ebin/db_loc_torrent.beam and b/ebin/db_loc_torrent.beam differ diff --git a/ebin/dhtcrawler.app b/ebin/dhtcrawler.app index a2096a3..7d8a6ec 100644 --- a/ebin/dhtcrawler.app +++ b/ebin/dhtcrawler.app @@ -1,15 +1,15 @@ {application,dhtcrawler, [{description,"A DHT crawler to index magnet hash to torrent"}, - {vsn,"0dcf085"}, + {vsn,"5b344c4"}, {registered,[dht_crawler_sup]}, {applications,[kernel,stdlib,crypto,public_key,ssl,inets,bson, mongodb]}, {mod,{crawler_app,[]}}, - {modules,[bt_conn,bt_message,crawler_app,crawler_http, + {modules,[bt_conn,bt_message,config,crawler_app,crawler_http, crawler_stats,crawler_sup,db_frontend,db_hash, db_hash_reader,db_hash_reader_sup,db_loc_torrent, db_store_mongo,db_system,dht_monitor, hash_reader_stats,http_cache,http_handler,loc_torrent, - loc_torrent_sup,string_split,time_util,tor_download, - tor_download_stats,torrent_file,transfer,urldecode, - vlog]}]}. + loc_torrent_cache,loc_torrent_sup,string_split, + time_util,tor_download,tor_download_stats, + torrent_file,transfer,urldecode,vlog]}]}. diff --git a/ebin/loc_torrent.beam b/ebin/loc_torrent.beam index b3ffed3..5a49b81 100644 Binary files a/ebin/loc_torrent.beam and b/ebin/loc_torrent.beam differ diff --git a/ebin/loc_torrent_cache.beam b/ebin/loc_torrent_cache.beam new file mode 100644 index 0000000..1c11435 Binary files /dev/null and b/ebin/loc_torrent_cache.beam differ diff --git a/ebin/loc_torrent_sup.beam b/ebin/loc_torrent_sup.beam index 7605bcf..a20f397 100644 Binary files a/ebin/loc_torrent_sup.beam and b/ebin/loc_torrent_sup.beam differ diff --git a/ebin/transfer.beam b/ebin/transfer.beam new file mode 100644 index 0000000..e33948c Binary files /dev/null and b/ebin/transfer.beam differ diff --git a/win_start_torcache.bat b/win_start_torcache.bat new file mode 100644 index 0000000..6426486 --- /dev/null +++ b/win_start_torcache.bat @@ -0,0 +1 @@ +erl -pa ebin -noshell -run loc_torrent_sup start_standalone localhost 27017 20