@xriss/weerss 0.0.37 → 0.0.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/torrents.js +2 -2
- package/weerss.js +1 -1
package/package.json
CHANGED
package/torrents.js
CHANGED
|
@@ -123,11 +123,11 @@ torrents.fetch=async function(url)
|
|
|
123
123
|
f.length=ff.length
|
|
124
124
|
data.files.push(f)
|
|
125
125
|
}
|
|
126
|
-
torrent.destroy()
|
|
126
|
+
await torrent.destroy()
|
|
127
127
|
}
|
|
128
128
|
if(client)
|
|
129
129
|
{
|
|
130
|
-
if(!client.destroyed){client.destroy()}
|
|
130
|
+
if(!client.destroyed){await client.destroy()}
|
|
131
131
|
client=undefined
|
|
132
132
|
}
|
|
133
133
|
}
|
package/weerss.js
CHANGED
|
@@ -206,7 +206,7 @@ weerss.fetch=async function()
|
|
|
206
206
|
console.log(item.uuid)
|
|
207
207
|
await torrents.fill_torrent(item)
|
|
208
208
|
console.log(idx+"/"+its.length+" : "+JSON.stringify(item.torrent,null,1))
|
|
209
|
-
items.set(item)
|
|
209
|
+
await items.set(item)
|
|
210
210
|
}catch(e){console.log(e)}
|
|
211
211
|
}
|
|
212
212
|
}
|