File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -55,6 +55,7 @@ module.exports = async function (originalUrl) {
55
55
language : '' ,
56
56
title : '' ,
57
57
description : '' ,
58
+ siteName : '' ,
58
59
isRtaLabel : false
59
60
} ,
60
61
vueVersion : null ,
@@ -121,6 +122,7 @@ module.exports = async function (originalUrl) {
121
122
if ( ! infos . meta . description ) {
122
123
infos . meta . description = await page . $eval ( 'head > meta[property="og:description"]' , element => element . content ) . catch ( ( ) => '' )
123
124
}
125
+ infos . meta . siteName = await page . $eval ( 'head > meta[property="og:site_name"]' , element => element . content ) . catch ( ( ) => '' )
124
126
125
127
const rtaLabel = await page . $eval ( 'head > meta[name="RATING"]' , element => element . content ) . catch ( ( ) => '' )
126
128
if ( rtaLabel . trim ( ) === 'RTA-5042-1996-1400-1577-RTA' ) {
You can’t perform that action at this time.
0 commit comments