mirror of
https://github.com/Alvin-Zilverstand/Twitter-X-Media-Batch-Downloader.git
synced 2026-12-02 02:51:29 +01:00
v4.6
This commit is contained in:
1 parent
33be717065
commit
e05a9379fc
20 files changed
+1449
-611
No files matched your search
@@ -135,6 +135,10 @@ export namespace main {
|
||||
urls: string[];
|
||||
output_dir: string;
|
||||
username: string;
|
||||
concurrent_downloads?: number;
|
||||
skip_existing: boolean;
|
||||
delete_incomplete_files: boolean;
|
||||
retry_attempts?: number;
|
||||
proxy?: string;
|
||||
|
||||
static createFrom(source: any = {}) {
|
||||
@@ -146,6 +150,10 @@ export namespace main {
|
||||
this.urls = source["urls"];
|
||||
this.output_dir = source["output_dir"];
|
||||
this.username = source["username"];
|
||||
this.concurrent_downloads = source["concurrent_downloads"];
|
||||
this.skip_existing = source["skip_existing"];
|
||||
this.delete_incomplete_files = source["delete_incomplete_files"];
|
||||
this.retry_attempts = source["retry_attempts"];
|
||||
this.proxy = source["proxy"];
|
||||
}
|
||||
}
|
||||
@@ -199,6 +207,10 @@ export namespace main {
|
||||
items: MediaItemRequest[];
|
||||
output_dir: string;
|
||||
username: string;
|
||||
concurrent_downloads?: number;
|
||||
skip_existing: boolean;
|
||||
delete_incomplete_files: boolean;
|
||||
retry_attempts?: number;
|
||||
proxy?: string;
|
||||
|
||||
static createFrom(source: any = {}) {
|
||||
@@ -210,6 +222,10 @@ export namespace main {
|
||||
this.items = this.convertValues(source["items"], MediaItemRequest);
|
||||
this.output_dir = source["output_dir"];
|
||||
this.username = source["username"];
|
||||
this.concurrent_downloads = source["concurrent_downloads"];
|
||||
this.skip_existing = source["skip_existing"];
|
||||
this.delete_incomplete_files = source["delete_incomplete_files"];
|
||||
this.retry_attempts = source["retry_attempts"];
|
||||
this.proxy = source["proxy"];
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user