mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-03-22 04:30:56 +03:00
Fixed bug where subscription videos could not be downloaded from the player
This commit is contained in:
@@ -122,12 +122,15 @@ export class PostsService {
|
||||
return this.http.post(this.path + 'getFile', {uid: uid, type: type});
|
||||
}
|
||||
|
||||
downloadFileFromServer(fileName, type, outputName = null, fullPathProvided = null) {
|
||||
downloadFileFromServer(fileName, type, outputName = null, fullPathProvided = null, subscriptionName = null, subPlaylist = null) {
|
||||
return this.http.post(this.path + 'downloadFile', {fileNames: fileName,
|
||||
type: type,
|
||||
zip_mode: Array.isArray(fileName),
|
||||
outputName: outputName,
|
||||
fullPathProvided: fullPathProvided},
|
||||
fullPathProvided: fullPathProvided,
|
||||
subscriptionName: subscriptionName,
|
||||
subPlaylist: subPlaylist
|
||||
},
|
||||
{responseType: 'blob'});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user