mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-04-09 15:31:29 +03:00
Added ability to download subscription videos as zip
This commit is contained in:
@@ -114,11 +114,12 @@ export class PostsService {
|
||||
return this.http.post(this.path + 'getMp4s', {});
|
||||
}
|
||||
|
||||
downloadFileFromServer(fileName, type, outputName = null) {
|
||||
downloadFileFromServer(fileName, type, outputName = null, fullPathProvided = null) {
|
||||
return this.http.post(this.path + 'downloadFile', {fileNames: fileName,
|
||||
type: type,
|
||||
is_playlist: Array.isArray(fileName),
|
||||
outputName: outputName},
|
||||
zip_mode: Array.isArray(fileName),
|
||||
outputName: outputName,
|
||||
fullPathProvided: fullPathProvided},
|
||||
{responseType: 'blob'});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user