mirror of
https://github.com/lifegpc/eh-downloader.git
synced 2026-07-08 01:31:00 +08:00
Add support to import gallery
This commit is contained in:
@@ -88,6 +88,9 @@ class Image {
|
||||
get src() {
|
||||
return this.data?.img_url;
|
||||
}
|
||||
get token() {
|
||||
return this.base.token;
|
||||
}
|
||||
get xres() {
|
||||
return this.data?.xres;
|
||||
}
|
||||
|
||||
@@ -136,6 +136,9 @@ class MPVImage {
|
||||
get thumbnail() {
|
||||
return this.base.t;
|
||||
}
|
||||
get token() {
|
||||
return this.base.k;
|
||||
}
|
||||
get xres() {
|
||||
const xres = this.data?.xres;
|
||||
if (!xres) return undefined;
|
||||
|
||||
Reference in New Issue
Block a user