Added the ability to download (export) archives from subscriptions

This commit is contained in:
Isaac Grynsztein
2020-03-08 22:24:59 -04:00
parent 6f3e94cf24
commit 846dd7e250
9 changed files with 43 additions and 5 deletions

View File

@@ -120,6 +120,10 @@ export class PostsService {
{responseType: 'blob'});
}
downloadArchive(sub) {
return this.http.post(this.path + 'downloadArchive', {sub: sub}, {responseType: 'blob'});
}
getFileInfo(fileNames, type, urlMode) {
return this.http.post(this.path + 'getVideoInfos', {fileNames: fileNames, type: type, urlMode: urlMode});
}