diff options
Diffstat (limited to '')
-rw-r--r-- | _plugins/generate-torrent.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/_plugins/generate-torrent.rb b/_plugins/generate-torrent.rb index fd38d85..580bcf8 100644 --- a/_plugins/generate-torrent.rb +++ b/_plugins/generate-torrent.rb @@ -1,5 +1,3 @@ -TRACKERS = '-a udp://tracker.coppersurfer.tk:6969/announce -a udp://tracker.ccc.de:80/announce -a udp://tracker.publicbt.com:80 -a udp://tracker.istole.it:80 -a http://tracker.openbittorrent.com:80/announce -a http://tracker.ipv6tracker.org:80/announce' - module Jekyll class TorrentGenerator < Generator safe true @@ -23,7 +21,7 @@ module Jekyll unless File.exist? torrent then webseed = "#{site.config['url']}/#{media}" puts "Missing '#{torrent}' file, generating..." - puts `mktorrent #{TRACKERS} -f -v -d -c '#{document.content}' -n #{file} -w #{webseed} -o #{torrent} #{media}` + puts `mktorrent -f -v -d -c '#{document.content}' -n #{file} -w #{webseed} -o #{torrent} #{media}` end checksum_file = "#{torrent}.checksum" |