mirror of
https://github.com/YuzuZensai/play-dl-test.git
synced 2026-01-31 14:58:05 +00:00
Rename function to decipher_info
This commit is contained in:
@@ -182,7 +182,7 @@ export async function video_info(url: string, options: InfoOptions = {}) {
|
||||
* @param data basic_video_info data
|
||||
* @returns Data containing video_details, LiveStreamData and formats of video url.
|
||||
*/
|
||||
export async function video_info_from_basic_info(data: InfoData) {
|
||||
export async function decipher_info(data: InfoData) {
|
||||
if (data.LiveStreamData.isLive === true && data.LiveStreamData.hlsManifestUrl !== null) {
|
||||
return data;
|
||||
} else if (data.format[0].signatureCipher || data.format[0].cipher) {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
export {
|
||||
video_basic_info,
|
||||
video_info,
|
||||
video_info_from_basic_info,
|
||||
decipher_info,
|
||||
playlist_info,
|
||||
yt_validate,
|
||||
extractID
|
||||
|
||||
Reference in New Issue
Block a user