@xriss/weerss 0.0.34 → 0.0.36
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 +3 -2
package/package.json
CHANGED
package/weerss.js
CHANGED
|
@@ -199,12 +199,13 @@ weerss.fetch=async function()
|
|
|
199
199
|
{
|
|
200
200
|
let its=await db.list("items",{torrent_is_null:1})
|
|
201
201
|
console.log("Checking torrents : "+its.length)
|
|
202
|
-
for(let
|
|
202
|
+
for(let idx in its)
|
|
203
203
|
{
|
|
204
204
|
try{
|
|
205
|
+
let item=its[idx]
|
|
205
206
|
console.log(item.uuid)
|
|
206
207
|
await torrents.fill_torrent(item)
|
|
207
|
-
console.log(item.torrent)
|
|
208
|
+
console.log(idx+"/"+its.length+" : "+JSON.stringify(item.torrent,null,1))
|
|
208
209
|
items.set(item)
|
|
209
210
|
}catch(e){console.log(e)}
|
|
210
211
|
}
|