File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -83,7 +83,8 @@ class VideoInfo extends MediaInfo {
8383 is_family_safe : info . microformat ?. is_family_safe ,
8484 category : info . microformat ?. is ( PlayerMicroformat ) ? info . microformat ?. category : null ,
8585 has_ypc_metadata : info . microformat ?. is ( PlayerMicroformat ) ? info . microformat ?. has_ypc_metadata : null ,
86- start_timestamp : info . microformat ?. is ( PlayerMicroformat ) ? info . microformat . start_timestamp : null
86+ start_timestamp : info . microformat ?. is ( PlayerMicroformat ) ? info . microformat . start_timestamp : null ,
87+ view_count : info . microformat ?. is ( PlayerMicroformat ) && isNaN ( info . video_details ?. view_count as number ) ? info . microformat . view_count : info . video_details ?. view_count
8788 } ,
8889 like_count : undefined as number | undefined ,
8990 is_liked : undefined as boolean | undefined ,
You can’t perform that action at this time.
0 commit comments