Added scene scraping to Teen Core Club.

This commit is contained in:
2020-07-06 04:13:48 +02:00
parent 9b1d38d9ff
commit abe7de5701
5 changed files with 81 additions and 149 deletions

View File

@@ -5,7 +5,10 @@ const moment = require('moment');
const http = require('./http');
function trim(str) {
if (!str) return null;
if (typeof str !== 'string') {
return null;
}
return str.trim().replace(/\s+/g, ' ');
}
@@ -263,6 +266,7 @@ function init(element, window) {
}),
...legacyContextFuncs,
qu: quContextFuncs,
query: quContextFuncs,
};
}