fix: add date_published selector in jvndb.jvn.jp extractor (#375)

pull/376/head^2
kik0220 5 years ago committed by Toufic Mouallem
parent 8ca2894751
commit 3e91ac55db

@ -7,7 +7,11 @@ export const JvndbJvnJpExtractor = {
author: null,
date_published: null,
date_published: {
selectors: ['div.modifytxt:nth-child(2)'],
format: 'YYYY/MM/DD',
timezone: 'Asia/Tokyo',
},
dek: null,

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

Loading…
Cancel
Save