and move to completed.rss
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user