forked from DebaucheryLibrarian/traxxx
Updated Woodman scraper to use unprint.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user