Skip to content

Commit

Permalink
feat(VideoViewCount): Add extra_short_view_count field
Browse files Browse the repository at this point in the history
  • Loading branch information
LuanRT committed Dec 4, 2024
1 parent ec85b0f commit d10fe68
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/parser/classes/VideoViewCount.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

0 comments on commit d10fe68

Please sign in to comment.