mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-13 09:32:12 +00:00
feat(VideoViewCount): Add extra_short_view_count field
This commit is contained in:
@@ -7,12 +7,14 @@ export default class VideoViewCount extends YTNode {
|
||||
|
||||
public original_view_count: string;
|
||||
public short_view_count: Text;
|
||||
public extra_short_view_count: Text;
|
||||
public view_count: Text;
|
||||
|
||||
constructor(data: RawNode) {
|
||||
super();
|
||||
this.original_view_count = data.originalViewCount;
|
||||
this.short_view_count = new Text(data.shortViewCount);
|
||||
this.extra_short_view_count = new Text(data.extraShortViewCount);
|
||||
this.view_count = new Text(data.viewCount);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user