fix: add date_published selector in www.elecom.co.jp extractor (#377)

pull/378/head^2
kik0220 5 years ago committed by Toufic Mouallem
parent 7c0949e587
commit ea5b65f019

@ -7,7 +7,11 @@ export const WwwElecomCoJpExtractor = {
author: null,
date_published: null,
date_published: {
selectors: ['p.section-last'],
format: 'YYYY.MM.DD',
timezone: 'Asia/Tokyo',
},
dek: null,

@ -61,7 +61,7 @@ describe('WwwElecomCoJpExtractor', () => {
// Update these values with the expected values from
// the article.
assert.equal(date_published, null);
assert.equal(date_published, '2019-03-04T15:00:00.000Z');
});
it('returns the dek', async () => {

Loading…
Cancel
Save