Replaced cheerio with qu in Gamma scraper.

This commit is contained in:
DebaucheryLibrarian
2021-11-29 02:49:07 +01:00
parent 53a1c697d0
commit 87094a9498
3 changed files with 81 additions and 115 deletions

View File

@@ -16,6 +16,10 @@ function trim(str) {
}
function extractDate(dateString, format, match) {
if (!dateString) {
return null;
}
if (match) {
const dateStamp = trim(dateString).match(match);