Skip to content

Commit

Permalink
add torrent downloader
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinlynx committed Jul 5, 2013
1 parent b598fb0 commit 7c777f6
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 5 deletions.
5 changes: 5 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -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

Binary file added ebin/config.beam
Binary file not shown.
Binary file modified ebin/db_hash_reader.beam
Binary file not shown.
Binary file modified ebin/db_hash_reader_sup.beam
Binary file not shown.
Binary file modified ebin/db_loc_torrent.beam
Binary file not shown.
10 changes: 5 additions & 5 deletions ebin/dhtcrawler.app
Original file line number Diff line number Diff line change
@@ -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]}]}.
Binary file modified ebin/loc_torrent.beam
Binary file not shown.
Binary file added ebin/loc_torrent_cache.beam
Binary file not shown.
Binary file modified ebin/loc_torrent_sup.beam
Binary file not shown.
Binary file added ebin/transfer.beam
Binary file not shown.
1 change: 1 addition & 0 deletions win_start_torcache.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
erl -pa ebin -noshell -run loc_torrent_sup start_standalone localhost 27017 20

0 comments on commit 7c777f6

Please sign in to comment.