@chilfish/gallery-dl-instagram 0.2.0 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/dl-ins.mjs +900 -977
- package/dist/index.cjs +180 -2
- package/dist/index.d.cts +87 -64
- package/dist/index.d.mts +87 -64
- package/dist/index.mjs +179 -1
- package/dist/node.cjs +7 -9
- package/dist/node.d.cts +3 -3
- package/dist/node.d.mts +3 -3
- package/dist/node.mjs +7 -9
- package/dist/{sdk-nzhAxf1O.cjs → sdk-D8q2Rjw2.cjs} +557 -523
- package/dist/{sdk-CK9x5wFL.d.mts → sdk-DyZz22bT.d.cts} +7 -4
- package/dist/{sdk-CK9x5wFL.d.cts → sdk-DyZz22bT.d.mts} +7 -4
- package/dist/{sdk-Bn0VCUIT.mjs → sdk-E0L5ISZC.mjs} +507 -521
- package/package.json +3 -10
- package/dist/adapter-CFsiiEpM.cjs +0 -83
- package/dist/adapter-tSleX8Cr.mjs +0 -59
|
@@ -197,8 +197,11 @@ declare abstract class Extractor {
|
|
|
197
197
|
//#endregion
|
|
198
198
|
//#region src/sdk.d.ts
|
|
199
199
|
interface SDKOptions {
|
|
200
|
-
/**
|
|
201
|
-
|
|
200
|
+
/**
|
|
201
|
+
* Custom HttpClient implementation.
|
|
202
|
+
* Defaults to a platform-agnostic fetch-based client when omitted.
|
|
203
|
+
*/
|
|
204
|
+
http?: HttpClient;
|
|
202
205
|
/**
|
|
203
206
|
* Custom Storage implementation for file output.
|
|
204
207
|
* Only needed if you plan to call ``download()``.
|
|
@@ -223,8 +226,8 @@ declare class InstagramSDK {
|
|
|
223
226
|
readonly log: Logger;
|
|
224
227
|
readonly config: ConfigManager;
|
|
225
228
|
private readonly _csrfToken;
|
|
226
|
-
constructor(opts
|
|
227
|
-
http
|
|
229
|
+
constructor(opts?: {
|
|
230
|
+
http?: HttpClient;
|
|
228
231
|
storage?: Storage;
|
|
229
232
|
log?: Logger;
|
|
230
233
|
csrfToken?: string;
|
|
@@ -197,8 +197,11 @@ declare abstract class Extractor {
|
|
|
197
197
|
//#endregion
|
|
198
198
|
//#region src/sdk.d.ts
|
|
199
199
|
interface SDKOptions {
|
|
200
|
-
/**
|
|
201
|
-
|
|
200
|
+
/**
|
|
201
|
+
* Custom HttpClient implementation.
|
|
202
|
+
* Defaults to a platform-agnostic fetch-based client when omitted.
|
|
203
|
+
*/
|
|
204
|
+
http?: HttpClient;
|
|
202
205
|
/**
|
|
203
206
|
* Custom Storage implementation for file output.
|
|
204
207
|
* Only needed if you plan to call ``download()``.
|
|
@@ -223,8 +226,8 @@ declare class InstagramSDK {
|
|
|
223
226
|
readonly log: Logger;
|
|
224
227
|
readonly config: ConfigManager;
|
|
225
228
|
private readonly _csrfToken;
|
|
226
|
-
constructor(opts
|
|
227
|
-
http
|
|
229
|
+
constructor(opts?: {
|
|
230
|
+
http?: HttpClient;
|
|
228
231
|
storage?: Storage;
|
|
229
232
|
log?: Logger;
|
|
230
233
|
csrfToken?: string;
|