forked from DebaucheryLibrarian/traxxx
Replaced cheerio with qu in Gamma scraper.
This commit is contained in:
@@ -16,6 +16,10 @@ function trim(str) {
|
||||
}
|
||||
|
||||
function extractDate(dateString, format, match) {
|
||||
if (!dateString) {
|
||||
return null;
|
||||
}
|
||||
|
||||
if (match) {
|
||||
const dateStamp = trim(dateString).match(match);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user