Skip to content

Commit 03f98c3

Browse files
committed
update torrent importer, save process state so that can launch next time
1 parent 0c6097f commit 03f98c3

7 files changed

+7
-2
lines changed

HISTORY.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 07.08.2013
2+
3+
* add torrent importer which can import local torrents into torrents database
4+
15
## 07.05.2013
26

37
* add torrent downloader which will download torrents and store them in database or local file system

ebin/dhtcrawler.app

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{application,dhtcrawler,
22
[{description,"A DHT crawler to index magnet hash to torrent"},
3-
{vsn,"db93cd7"},
3+
{vsn,"4d31535"},
44
{registered,[dht_crawler_sup]},
55
{applications,[kernel,stdlib,crypto,public_key,ssl,inets,bson,
66
mongodb]},
@@ -12,4 +12,5 @@
1212
hash_reader_stats,http_cache,http_handler,loc_torrent,
1313
loc_torrent_cache,loc_torrent_sup,string_split,
1414
time_util,tor_builder,tor_download,tor_download_stats,
15+
tor_location,tor_location_reader,tor_location_writer,
1516
torrent_file,transfer,urldecode,vlog]}]}.

ebin/tor_builder.beam

1.35 KB
Binary file not shown.

ebin/tor_location.beam

6.96 KB
Binary file not shown.

ebin/tor_location_reader.beam

6.15 KB
Binary file not shown.

ebin/tor_location_writer.beam

8.19 KB
Binary file not shown.

win_start_import_tors.bat

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
erl -pa ebin -noshell -run tor_builder start_standalone localhost 27017 10 torrents/
1+
erl -pa ebin -noshell -run tor_builder start_standalone localhost 27017 50 torrents/

0 commit comments

Comments
 (0)