@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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/weerss.js +3 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xriss/weerss",
3
- "version": "0.0.34",
3
+ "version": "0.0.36",
4
4
  "source": "weerss.js",
5
5
  "type": "module",
6
6
  "repository": {
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 item of its)
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
  }