@xriss/weerss 0.0.30 → 0.0.32
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/weerss.js +5 -1
package/package.json
CHANGED
package/weerss.js
CHANGED
|
@@ -202,7 +202,9 @@ weerss.fetch=async function()
|
|
|
202
202
|
for(let item of its)
|
|
203
203
|
{
|
|
204
204
|
console.log(item.uuid)
|
|
205
|
-
|
|
205
|
+
try{
|
|
206
|
+
await torrents.fill_torrent(item)
|
|
207
|
+
}catch(e){console.log(e)}
|
|
206
208
|
console.log(item.torrent)
|
|
207
209
|
items.set(item)
|
|
208
210
|
}
|
|
@@ -642,6 +644,8 @@ weerss.purge=async function(args)
|
|
|
642
644
|
process.stdout.write("\n")
|
|
643
645
|
|
|
644
646
|
console.log("Kept "+keep+" dropped "+drop+" items.")
|
|
647
|
+
|
|
648
|
+
await db.vacuum()
|
|
645
649
|
|
|
646
650
|
await db.close()
|
|
647
651
|
}
|