possibly fix usenet?

This commit is contained in:
zefie
2024-05-17 16:33:52 -04:00
parent 0a5a2eb964
commit dd9d3fb76e
3 changed files with 4 additions and 3 deletions

View File

@@ -355,7 +355,8 @@ class WTVNews {
var messages = [];
var promises = [];
for (var article in NGArticles) {
if (article == "getCaseInsensitiveKey") continue;
if (article == "getCaseInsensitiveKey" || isNaN(article)) continue;
console.log(article);
promises.push(new Promise((resolve, reject) => {
this.getHeader(NGArticles[article]).then((data) => {
if (data.article) messages.push(data.article)