@xriss/weerss 0.0.32 → 0.0.34
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/items.js +2 -1
- package/package.json +1 -1
- package/weerss.js +3 -3
package/items.js
CHANGED
|
@@ -153,7 +153,8 @@ items.prepare=function(item,feed)
|
|
|
153
153
|
}
|
|
154
154
|
|
|
155
155
|
// prefer link, but might be a feed url + ( id or date )
|
|
156
|
-
|
|
156
|
+
// jacket constantly generates new links , so can not be used
|
|
157
|
+
item.uuid=( item.feed+"#"+( ( rss["/guid"] || atom["/id"] ) || (""+item.date) ) )
|
|
157
158
|
|
|
158
159
|
return item
|
|
159
160
|
}
|
package/package.json
CHANGED
package/weerss.js
CHANGED
|
@@ -201,12 +201,12 @@ weerss.fetch=async function()
|
|
|
201
201
|
console.log("Checking torrents : "+its.length)
|
|
202
202
|
for(let item of its)
|
|
203
203
|
{
|
|
204
|
-
console.log(item.uuid)
|
|
205
204
|
try{
|
|
205
|
+
console.log(item.uuid)
|
|
206
206
|
await torrents.fill_torrent(item)
|
|
207
|
+
console.log(item.torrent)
|
|
208
|
+
items.set(item)
|
|
207
209
|
}catch(e){console.log(e)}
|
|
208
|
-
console.log(item.torrent)
|
|
209
|
-
items.set(item)
|
|
210
210
|
}
|
|
211
211
|
}
|
|
212
212
|
|