Updated Woodman scraper to use unprint.

This commit is contained in:
DebaucheryLibrarian
2026-01-18 01:51:13 +01:00
parent 9ec2ad25a7
commit bfb48abfdd
4 changed files with 85 additions and 69 deletions

View File

@@ -24,7 +24,7 @@ function resizeSrc(src) {
function deriveDate(query) {
const now = new Date();
// Nov. 12th
// Nov. 2025
const dateMY = query.date('.i-date', 'MMM. YYYY', { match: /(\w+\.? \d{4})/ });
if (dateMY) {
@@ -34,6 +34,7 @@ function deriveDate(query) {
};
}
// Nov. 12th
const dateMDo = query.date('.i-date', 'MMM. Do', { match: /(\w+\.? \d{1,2}\w+)/ });
if (dateMDo) {
@@ -47,6 +48,7 @@ function deriveDate(query) {
};
}
// 8 Weeks Ago
const dateAgo = query.dateAgo('.i-date');
if (dateAgo) {