and move to completed.rss
parent
f1cfa36427
commit
eaf9ee8a3a
|
|
@ -231,7 +231,8 @@ func (ex *Exchange) handlerTorrent(item *rss.Item) {
|
||||||
requestBody, err := json.Marshal(map[string]interface{}{
|
requestBody, err := json.Marshal(map[string]interface{}{
|
||||||
"method": "torrent-add",
|
"method": "torrent-add",
|
||||||
"arguments": map[string]interface{}{
|
"arguments": map[string]interface{}{
|
||||||
"filename": match,
|
"filename": match,
|
||||||
|
"download-dir": "/data/completed-rss",
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue