mirror of
https://github.com/lifegpc/eh_downloader_flutter.git
synced 2026-07-08 01:30:28 +08:00
Add download zip page
This commit is contained in:
@@ -162,6 +162,14 @@ abstract class _EHApi {
|
||||
@GET('/tag/rows')
|
||||
Future<ApiResult<List<Tag>>> getRowTags(
|
||||
{@CancelRequest() CancelToken? cancel});
|
||||
|
||||
@GET('/export/gallery/zip/{gid}')
|
||||
@DioResponseType(ResponseType.stream)
|
||||
Future<HttpResponse> exportGalleryZip(@Path("gid") int gid,
|
||||
{@Query("jpn_title") bool? jpnTitle,
|
||||
@Query("max_length") int? maxLength,
|
||||
@Query("export_ad") bool? exportAd,
|
||||
@CancelRequest() CancelToken? cancel});
|
||||
}
|
||||
|
||||
class EHApi extends __EHApi {
|
||||
|
||||
Reference in New Issue
Block a user