File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -223,6 +223,10 @@ const RootExtractor = {
223
223
content,
224
224
} ;
225
225
}
226
+ let extendedResults = { } ;
227
+ if ( extractor . extend ) {
228
+ extendedResults = selectExtendedTypes ( extractor . extend , opts ) ;
229
+ }
226
230
const title = extractResult ( { ...opts , type : 'title' } ) ;
227
231
const date_published = extractResult ( { ...opts , type : 'date_published' } ) ;
228
232
const author = extractResult ( { ...opts , type : 'author' } ) ;
@@ -247,11 +251,6 @@ const RootExtractor = {
247
251
type : 'url_and_domain' ,
248
252
} ) || { url : null , domain : null } ;
249
253
250
- let extendedResults = { } ;
251
- if ( extractor . extend ) {
252
- extendedResults = selectExtendedTypes ( extractor . extend , opts ) ;
253
- }
254
-
255
254
return {
256
255
title,
257
256
content,
You can’t perform that action at this time.
0 commit comments