mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-22 22:18:14 +00:00
chore: add other InnerTube API urls
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
'use strict';
|
||||
|
||||
const Parser = require('..');
|
||||
const Text = require('./Text');
|
||||
const NavigationEndpoint = require('./NavigationEndpoint');
|
||||
|
||||
@@ -8,7 +7,7 @@ class CompactLink {
|
||||
type = 'CompactLink';
|
||||
|
||||
constructor(data) {
|
||||
this.title = new Text(data.title).toString();
|
||||
this.title = new Text(data.title).toString(); a
|
||||
this.endpoint = new NavigationEndpoint(data.navigationEndpoint);
|
||||
this.style = data.style;
|
||||
}
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
'use strict';
|
||||
|
||||
const Parser = require('..');
|
||||
const Text = require('./Text');
|
||||
const NavigationEndpoint = require('./NavigationEndpoint');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user