@xriss/weerss 0.0.5 → 0.0.7
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/db.js +6 -0
- package/package.json +1 -1
- package/weerss.js +8 -4
package/db.js
CHANGED
package/package.json
CHANGED
package/weerss.js
CHANGED
|
@@ -167,6 +167,10 @@ weerss.fetch=async function()
|
|
|
167
167
|
await db.setup()
|
|
168
168
|
// db.clear("hoard") // delete cache on startup
|
|
169
169
|
|
|
170
|
+
// clear cached data
|
|
171
|
+
db.clear("torrents")
|
|
172
|
+
db.clear("hoard")
|
|
173
|
+
|
|
170
174
|
for(let feed of await db.list("feeds") )
|
|
171
175
|
{
|
|
172
176
|
let keep=false
|
|
@@ -350,10 +354,10 @@ weerss.save_rss=async function(args)
|
|
|
350
354
|
"/rss/channel/language" : "en-us" ,
|
|
351
355
|
"/rss/channel/lastBuildDate" : dates ,
|
|
352
356
|
"/rss/channel/pubDate" : dates ,
|
|
353
|
-
"/rss/channel/description" : "
|
|
354
|
-
"/rss/channel/generator" : "
|
|
355
|
-
"/rss/channel/link" : "
|
|
356
|
-
"/rss/channel/title" : "
|
|
357
|
+
"/rss/channel/description" : "WEERSS" ,
|
|
358
|
+
"/rss/channel/generator" : "WEERSS" ,
|
|
359
|
+
"/rss/channel/link" : "WEERSS" ,
|
|
360
|
+
"/rss/channel/title" : "WEERSS" ,
|
|
357
361
|
"/rss/channel/item" : rss_items ,
|
|
358
362
|
}
|
|
359
363
|
|