parent
11ad7b9a92
commit
aff651c2d8
File diff suppressed because one or more lines are too long
@ -0,0 +1,45 @@
|
||||
export const HellogigglesComExtractor = {
|
||||
domain: 'hellogiggles.com',
|
||||
|
||||
title: {
|
||||
selectors: [
|
||||
'.title',
|
||||
],
|
||||
},
|
||||
|
||||
author: {
|
||||
selectors: [
|
||||
'.author-link',
|
||||
],
|
||||
},
|
||||
|
||||
date_published: {
|
||||
selectors: [
|
||||
['meta[name="article:published_time"]', 'value'],
|
||||
],
|
||||
},
|
||||
|
||||
lead_image_url: {
|
||||
selectors: [
|
||||
['meta[name="og:image"]', 'value'],
|
||||
],
|
||||
},
|
||||
|
||||
content: {
|
||||
selectors: [
|
||||
'.entry-content',
|
||||
],
|
||||
|
||||
// Is there anything in the content you selected that needs transformed
|
||||
// before it's consumable content? E.g., unusual lazy loaded images
|
||||
transforms: {
|
||||
},
|
||||
|
||||
// Is there anything that is in the result that shouldn't be?
|
||||
// The clean selectors will remove anything that matches from
|
||||
// the result
|
||||
clean: [
|
||||
|
||||
],
|
||||
},
|
||||
};
|
Loading…
Reference in New Issue