scrapebadger 0.30.0 → 0.32.0
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/README.md +3 -0
- package/dist/index.d.cts +1002 -35
- package/dist/index.d.ts +1002 -35
- package/dist/index.js +419 -33
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +399 -23
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5924,8 +5924,375 @@ var WalmartClient = class {
|
|
|
5924
5924
|
}
|
|
5925
5925
|
};
|
|
5926
5926
|
|
|
5927
|
-
// src/
|
|
5927
|
+
// src/duckduckgo/search.ts
|
|
5928
5928
|
var SearchClient10 = class {
|
|
5929
|
+
constructor(client) {
|
|
5930
|
+
this.client = client;
|
|
5931
|
+
}
|
|
5932
|
+
/**
|
|
5933
|
+
* Search duckduckgo.com.
|
|
5934
|
+
*
|
|
5935
|
+
* @param query - Search keywords, e.g. `"privacy"`.
|
|
5936
|
+
* @param params - Optional region, safesearch, timelimit and page.
|
|
5937
|
+
* @returns A page of web results plus the optional abstract.
|
|
5938
|
+
*/
|
|
5939
|
+
async search(query, params = {}) {
|
|
5940
|
+
return this.client.request("/v1/duckduckgo/search", {
|
|
5941
|
+
params: {
|
|
5942
|
+
query,
|
|
5943
|
+
region: params.region,
|
|
5944
|
+
safesearch: params.safesearch,
|
|
5945
|
+
timelimit: params.timelimit,
|
|
5946
|
+
page: params.page
|
|
5947
|
+
}
|
|
5948
|
+
});
|
|
5949
|
+
}
|
|
5950
|
+
};
|
|
5951
|
+
|
|
5952
|
+
// src/duckduckgo/media.ts
|
|
5953
|
+
var MediaClient2 = class {
|
|
5954
|
+
constructor(client) {
|
|
5955
|
+
this.client = client;
|
|
5956
|
+
}
|
|
5957
|
+
/**
|
|
5958
|
+
* Search DuckDuckGo Images.
|
|
5959
|
+
*
|
|
5960
|
+
* @param query - Search keywords.
|
|
5961
|
+
* @param params - Optional region, safesearch, page and image filters
|
|
5962
|
+
* (size, color, image_type, layout, license).
|
|
5963
|
+
*/
|
|
5964
|
+
async images(query, params = {}) {
|
|
5965
|
+
return this.client.request("/v1/duckduckgo/images", {
|
|
5966
|
+
params: {
|
|
5967
|
+
query,
|
|
5968
|
+
region: params.region,
|
|
5969
|
+
safesearch: params.safesearch,
|
|
5970
|
+
page: params.page,
|
|
5971
|
+
size: params.size,
|
|
5972
|
+
color: params.color,
|
|
5973
|
+
image_type: params.image_type,
|
|
5974
|
+
layout: params.layout,
|
|
5975
|
+
license: params.license
|
|
5976
|
+
}
|
|
5977
|
+
});
|
|
5978
|
+
}
|
|
5979
|
+
/**
|
|
5980
|
+
* Search DuckDuckGo News.
|
|
5981
|
+
*
|
|
5982
|
+
* @param query - Search keywords.
|
|
5983
|
+
* @param params - Optional region, safesearch, timelimit and page.
|
|
5984
|
+
*/
|
|
5985
|
+
async news(query, params = {}) {
|
|
5986
|
+
return this.client.request("/v1/duckduckgo/news", {
|
|
5987
|
+
params: {
|
|
5988
|
+
query,
|
|
5989
|
+
region: params.region,
|
|
5990
|
+
safesearch: params.safesearch,
|
|
5991
|
+
timelimit: params.timelimit,
|
|
5992
|
+
page: params.page
|
|
5993
|
+
}
|
|
5994
|
+
});
|
|
5995
|
+
}
|
|
5996
|
+
/**
|
|
5997
|
+
* Search DuckDuckGo Videos.
|
|
5998
|
+
*
|
|
5999
|
+
* @param query - Search keywords.
|
|
6000
|
+
* @param params - Optional region, safesearch, page, duration and resolution.
|
|
6001
|
+
*/
|
|
6002
|
+
async videos(query, params = {}) {
|
|
6003
|
+
return this.client.request("/v1/duckduckgo/videos", {
|
|
6004
|
+
params: {
|
|
6005
|
+
query,
|
|
6006
|
+
region: params.region,
|
|
6007
|
+
safesearch: params.safesearch,
|
|
6008
|
+
page: params.page,
|
|
6009
|
+
duration: params.duration,
|
|
6010
|
+
resolution: params.resolution
|
|
6011
|
+
}
|
|
6012
|
+
});
|
|
6013
|
+
}
|
|
6014
|
+
};
|
|
6015
|
+
|
|
6016
|
+
// src/duckduckgo/reference.ts
|
|
6017
|
+
var ReferenceClient7 = class {
|
|
6018
|
+
constructor(client) {
|
|
6019
|
+
this.client = client;
|
|
6020
|
+
}
|
|
6021
|
+
/**
|
|
6022
|
+
* Search-box suggestions for a partial query.
|
|
6023
|
+
*
|
|
6024
|
+
* @param query - Partial search term, e.g. `"weath"`.
|
|
6025
|
+
* @param params - Optional region.
|
|
6026
|
+
*/
|
|
6027
|
+
async autocomplete(query, params = {}) {
|
|
6028
|
+
return this.client.request("/v1/duckduckgo/autocomplete", {
|
|
6029
|
+
params: {
|
|
6030
|
+
query,
|
|
6031
|
+
region: params.region
|
|
6032
|
+
}
|
|
6033
|
+
});
|
|
6034
|
+
}
|
|
6035
|
+
/**
|
|
6036
|
+
* DuckDuckGo Instant Answer (zero-click info) for a query.
|
|
6037
|
+
*
|
|
6038
|
+
* @param query - The query, e.g. `"python"`.
|
|
6039
|
+
*/
|
|
6040
|
+
async instant(query) {
|
|
6041
|
+
return this.client.request("/v1/duckduckgo/instant", {
|
|
6042
|
+
params: { query }
|
|
6043
|
+
});
|
|
6044
|
+
}
|
|
6045
|
+
/**
|
|
6046
|
+
* Get the supported DuckDuckGo search regions.
|
|
6047
|
+
*/
|
|
6048
|
+
async regions() {
|
|
6049
|
+
return this.client.request("/v1/duckduckgo/regions");
|
|
6050
|
+
}
|
|
6051
|
+
};
|
|
6052
|
+
|
|
6053
|
+
// src/duckduckgo/client.ts
|
|
6054
|
+
var DuckDuckGoClient = class {
|
|
6055
|
+
/** Client for web search with the optional Instant-Answer abstract */
|
|
6056
|
+
search;
|
|
6057
|
+
/** Client for image, news and video search */
|
|
6058
|
+
media;
|
|
6059
|
+
/** Client for autocomplete, instant answers and supported regions */
|
|
6060
|
+
reference;
|
|
6061
|
+
/**
|
|
6062
|
+
* Create a new DuckDuckGo client.
|
|
6063
|
+
*
|
|
6064
|
+
* @param client - The base HTTP client for making requests.
|
|
6065
|
+
*/
|
|
6066
|
+
constructor(client) {
|
|
6067
|
+
this.search = new SearchClient10(client);
|
|
6068
|
+
this.media = new MediaClient2(client);
|
|
6069
|
+
this.reference = new ReferenceClient7(client);
|
|
6070
|
+
}
|
|
6071
|
+
};
|
|
6072
|
+
|
|
6073
|
+
// src/bing/search.ts
|
|
6074
|
+
var SearchClient11 = class {
|
|
6075
|
+
constructor(client) {
|
|
6076
|
+
this.client = client;
|
|
6077
|
+
}
|
|
6078
|
+
/**
|
|
6079
|
+
* Search bing.com — the web SERP.
|
|
6080
|
+
*
|
|
6081
|
+
* @param query - Search keywords, e.g. `"coffee machine"`.
|
|
6082
|
+
* @param params - Optional market, count, offset and safe-search filter.
|
|
6083
|
+
* @returns A page of organic results, ads and related searches.
|
|
6084
|
+
*/
|
|
6085
|
+
async search(query, params = {}) {
|
|
6086
|
+
return this.client.request("/v1/bing/search", {
|
|
6087
|
+
params: {
|
|
6088
|
+
query,
|
|
6089
|
+
market: params.market,
|
|
6090
|
+
count: params.count,
|
|
6091
|
+
offset: params.offset,
|
|
6092
|
+
safe_search: params.safe_search
|
|
6093
|
+
}
|
|
6094
|
+
});
|
|
6095
|
+
}
|
|
6096
|
+
/**
|
|
6097
|
+
* Bing search-box suggestions — the cheapest call in this API.
|
|
6098
|
+
*
|
|
6099
|
+
* @param query - Partial search term, e.g. `"coff"`.
|
|
6100
|
+
* @param params - Optional market.
|
|
6101
|
+
*/
|
|
6102
|
+
async autocomplete(query, params = {}) {
|
|
6103
|
+
return this.client.request("/v1/bing/autocomplete", {
|
|
6104
|
+
params: {
|
|
6105
|
+
query,
|
|
6106
|
+
market: params.market
|
|
6107
|
+
}
|
|
6108
|
+
});
|
|
6109
|
+
}
|
|
6110
|
+
};
|
|
6111
|
+
|
|
6112
|
+
// src/bing/media.ts
|
|
6113
|
+
var MediaClient3 = class {
|
|
6114
|
+
constructor(client) {
|
|
6115
|
+
this.client = client;
|
|
6116
|
+
}
|
|
6117
|
+
/**
|
|
6118
|
+
* Search Bing images.
|
|
6119
|
+
*
|
|
6120
|
+
* @param query - Search keywords, e.g. `"cats"`.
|
|
6121
|
+
* @param params - Optional market, count and safe-search filter.
|
|
6122
|
+
* @returns Full-size image URLs, thumbnails, pixel dimensions and the
|
|
6123
|
+
* source page each image came from.
|
|
6124
|
+
*/
|
|
6125
|
+
async images(query, params = {}) {
|
|
6126
|
+
return this.client.request("/v1/bing/images", {
|
|
6127
|
+
params: {
|
|
6128
|
+
query,
|
|
6129
|
+
market: params.market,
|
|
6130
|
+
count: params.count,
|
|
6131
|
+
safe_search: params.safe_search
|
|
6132
|
+
}
|
|
6133
|
+
});
|
|
6134
|
+
}
|
|
6135
|
+
/**
|
|
6136
|
+
* Search Bing videos.
|
|
6137
|
+
*
|
|
6138
|
+
* @param query - Search keywords, e.g. `"cats"`.
|
|
6139
|
+
* @param params - Optional market, count and safe-search filter.
|
|
6140
|
+
* @returns Video URLs, thumbnails, duration, publisher and view counts.
|
|
6141
|
+
*/
|
|
6142
|
+
async videos(query, params = {}) {
|
|
6143
|
+
return this.client.request("/v1/bing/videos", {
|
|
6144
|
+
params: {
|
|
6145
|
+
query,
|
|
6146
|
+
market: params.market,
|
|
6147
|
+
count: params.count,
|
|
6148
|
+
safe_search: params.safe_search
|
|
6149
|
+
}
|
|
6150
|
+
});
|
|
6151
|
+
}
|
|
6152
|
+
};
|
|
6153
|
+
|
|
6154
|
+
// src/bing/news.ts
|
|
6155
|
+
var NewsClient2 = class {
|
|
6156
|
+
constructor(client) {
|
|
6157
|
+
this.client = client;
|
|
6158
|
+
}
|
|
6159
|
+
/**
|
|
6160
|
+
* Search the Bing news vertical.
|
|
6161
|
+
*
|
|
6162
|
+
* @param query - Search keywords, e.g. `"artificial intelligence"`.
|
|
6163
|
+
* @param params - Optional market and freshness (`"day"`, `"week"`, `"month"`).
|
|
6164
|
+
* @returns Articles carrying publisher, publish dates and real URLs.
|
|
6165
|
+
*/
|
|
6166
|
+
async news(query, params = {}) {
|
|
6167
|
+
return this.client.request("/v1/bing/news", {
|
|
6168
|
+
params: {
|
|
6169
|
+
query,
|
|
6170
|
+
market: params.market,
|
|
6171
|
+
freshness: params.freshness
|
|
6172
|
+
}
|
|
6173
|
+
});
|
|
6174
|
+
}
|
|
6175
|
+
};
|
|
6176
|
+
|
|
6177
|
+
// src/bing/reference.ts
|
|
6178
|
+
var ReferenceClient8 = class {
|
|
6179
|
+
constructor(client) {
|
|
6180
|
+
this.client = client;
|
|
6181
|
+
}
|
|
6182
|
+
/**
|
|
6183
|
+
* Get the supported Bing markets.
|
|
6184
|
+
*
|
|
6185
|
+
* @returns Every Bing market code, name and country.
|
|
6186
|
+
*/
|
|
6187
|
+
async markets() {
|
|
6188
|
+
return this.client.request("/v1/bing/markets");
|
|
6189
|
+
}
|
|
6190
|
+
};
|
|
6191
|
+
|
|
6192
|
+
// src/bing/client.ts
|
|
6193
|
+
var BingClient = class {
|
|
6194
|
+
/** Client for web search and search-box autocomplete */
|
|
6195
|
+
search;
|
|
6196
|
+
/** Client for image search and video search */
|
|
6197
|
+
media;
|
|
6198
|
+
/** Client for the news vertical */
|
|
6199
|
+
news;
|
|
6200
|
+
/** Client for reference data (markets) */
|
|
6201
|
+
reference;
|
|
6202
|
+
/**
|
|
6203
|
+
* Create a new Bing client.
|
|
6204
|
+
*
|
|
6205
|
+
* @param client - The base HTTP client for making requests.
|
|
6206
|
+
*/
|
|
6207
|
+
constructor(client) {
|
|
6208
|
+
this.search = new SearchClient11(client);
|
|
6209
|
+
this.media = new MediaClient3(client);
|
|
6210
|
+
this.news = new NewsClient2(client);
|
|
6211
|
+
this.reference = new ReferenceClient8(client);
|
|
6212
|
+
}
|
|
6213
|
+
};
|
|
6214
|
+
|
|
6215
|
+
// src/baidu/client.ts
|
|
6216
|
+
var BaiduClient = class {
|
|
6217
|
+
client;
|
|
6218
|
+
constructor(client) {
|
|
6219
|
+
this.client = client;
|
|
6220
|
+
}
|
|
6221
|
+
/**
|
|
6222
|
+
* Search baidu.com — the web SERP.
|
|
6223
|
+
*
|
|
6224
|
+
* Costs 5 credits.
|
|
6225
|
+
*
|
|
6226
|
+
* @param query - Search keywords, e.g. `"咖啡机"` or `"coffee machine"` (required).
|
|
6227
|
+
* @param options - Optional parameters (page, num, language, timeFrom, timeTo).
|
|
6228
|
+
* @returns Search response with organic results and Baidu's related searches.
|
|
6229
|
+
* @throws AuthenticationError - If the API key is invalid.
|
|
6230
|
+
* @throws ValidationError - If the parameters are invalid.
|
|
6231
|
+
*/
|
|
6232
|
+
async search(query, options = {}) {
|
|
6233
|
+
return this.client.request("/v1/baidu/search", {
|
|
6234
|
+
params: {
|
|
6235
|
+
query,
|
|
6236
|
+
page: options.page,
|
|
6237
|
+
num: options.num,
|
|
6238
|
+
language: options.language,
|
|
6239
|
+
time_from: options.timeFrom,
|
|
6240
|
+
time_to: options.timeTo
|
|
6241
|
+
}
|
|
6242
|
+
});
|
|
6243
|
+
}
|
|
6244
|
+
/**
|
|
6245
|
+
* Search the Baidu news vertical.
|
|
6246
|
+
*
|
|
6247
|
+
* Costs 5 credits.
|
|
6248
|
+
*
|
|
6249
|
+
* @param query - Search keywords, e.g. `"人工智能"` (required).
|
|
6250
|
+
* @param options - Optional parameters (page, sort).
|
|
6251
|
+
* @returns News response with articles carrying publisher, date and real URLs.
|
|
6252
|
+
* @throws AuthenticationError - If the API key is invalid.
|
|
6253
|
+
* @throws ValidationError - If the parameters are invalid.
|
|
6254
|
+
*/
|
|
6255
|
+
async news(query, options = {}) {
|
|
6256
|
+
return this.client.request("/v1/baidu/news", {
|
|
6257
|
+
params: { query, page: options.page, sort: options.sort }
|
|
6258
|
+
});
|
|
6259
|
+
}
|
|
6260
|
+
/**
|
|
6261
|
+
* Search Baidu images.
|
|
6262
|
+
*
|
|
6263
|
+
* Costs 5 credits.
|
|
6264
|
+
*
|
|
6265
|
+
* @param query - Search keywords, e.g. `"猫"` (required).
|
|
6266
|
+
* @param options - Optional parameters (page). Baidu serves 30 images per page.
|
|
6267
|
+
* @returns Images response with full-size image URLs, Baidu-hosted thumbnail
|
|
6268
|
+
* copies, pixel dimensions and the source page each image came from.
|
|
6269
|
+
* @throws AuthenticationError - If the API key is invalid.
|
|
6270
|
+
* @throws ValidationError - If the parameters are invalid.
|
|
6271
|
+
*/
|
|
6272
|
+
async images(query, options = {}) {
|
|
6273
|
+
return this.client.request("/v1/baidu/images", {
|
|
6274
|
+
params: { query, page: options.page }
|
|
6275
|
+
});
|
|
6276
|
+
}
|
|
6277
|
+
/**
|
|
6278
|
+
* Baidu search-box suggestions — the cheapest call in this API.
|
|
6279
|
+
*
|
|
6280
|
+
* Costs 1 credit.
|
|
6281
|
+
*
|
|
6282
|
+
* @param query - Partial search term, e.g. `"咖啡"` or `"coff"` (required).
|
|
6283
|
+
* @returns Autocomplete response with Baidu's suggestions for the term.
|
|
6284
|
+
* @throws AuthenticationError - If the API key is invalid.
|
|
6285
|
+
* @throws ValidationError - If the parameters are invalid.
|
|
6286
|
+
*/
|
|
6287
|
+
async autocomplete(query) {
|
|
6288
|
+
return this.client.request("/v1/baidu/autocomplete", {
|
|
6289
|
+
params: { query }
|
|
6290
|
+
});
|
|
6291
|
+
}
|
|
6292
|
+
};
|
|
6293
|
+
|
|
6294
|
+
// src/youtube/search.ts
|
|
6295
|
+
var SearchClient12 = class {
|
|
5929
6296
|
client;
|
|
5930
6297
|
constructor(client) {
|
|
5931
6298
|
this.client = client;
|
|
@@ -6450,7 +6817,7 @@ var MusicClient2 = class {
|
|
|
6450
6817
|
};
|
|
6451
6818
|
|
|
6452
6819
|
// src/youtube/reference.ts
|
|
6453
|
-
var
|
|
6820
|
+
var ReferenceClient9 = class {
|
|
6454
6821
|
client;
|
|
6455
6822
|
constructor(client) {
|
|
6456
6823
|
this.client = client;
|
|
@@ -6518,7 +6885,7 @@ var YoutubeClient = class {
|
|
|
6518
6885
|
* @param client - The base HTTP client for making requests.
|
|
6519
6886
|
*/
|
|
6520
6887
|
constructor(client) {
|
|
6521
|
-
this.search = new
|
|
6888
|
+
this.search = new SearchClient12(client);
|
|
6522
6889
|
this.videos = new VideosClient3(client);
|
|
6523
6890
|
this.channels = new ChannelsClient(client);
|
|
6524
6891
|
this.playlists = new PlaylistsClient(client);
|
|
@@ -6526,12 +6893,12 @@ var YoutubeClient = class {
|
|
|
6526
6893
|
this.shorts = new ShortsClient2(client);
|
|
6527
6894
|
this.trending = new TrendingClient2(client);
|
|
6528
6895
|
this.music = new MusicClient2(client);
|
|
6529
|
-
this.reference = new
|
|
6896
|
+
this.reference = new ReferenceClient9(client);
|
|
6530
6897
|
}
|
|
6531
6898
|
};
|
|
6532
6899
|
|
|
6533
6900
|
// src/realtor/search.ts
|
|
6534
|
-
var
|
|
6901
|
+
var SearchClient13 = class {
|
|
6535
6902
|
client;
|
|
6536
6903
|
constructor(client) {
|
|
6537
6904
|
this.client = client;
|
|
@@ -6605,7 +6972,7 @@ var PropertiesClient = class {
|
|
|
6605
6972
|
};
|
|
6606
6973
|
|
|
6607
6974
|
// src/realtor/reference.ts
|
|
6608
|
-
var
|
|
6975
|
+
var ReferenceClient10 = class {
|
|
6609
6976
|
client;
|
|
6610
6977
|
constructor(client) {
|
|
6611
6978
|
this.client = client;
|
|
@@ -6634,14 +7001,14 @@ var RealtorClient = class {
|
|
|
6634
7001
|
* @param client - The base HTTP client for making requests.
|
|
6635
7002
|
*/
|
|
6636
7003
|
constructor(client) {
|
|
6637
|
-
this.search = new
|
|
7004
|
+
this.search = new SearchClient13(client);
|
|
6638
7005
|
this.properties = new PropertiesClient(client);
|
|
6639
|
-
this.reference = new
|
|
7006
|
+
this.reference = new ReferenceClient10(client);
|
|
6640
7007
|
}
|
|
6641
7008
|
};
|
|
6642
7009
|
|
|
6643
7010
|
// src/leboncoin/search.ts
|
|
6644
|
-
var
|
|
7011
|
+
var SearchClient14 = class {
|
|
6645
7012
|
client;
|
|
6646
7013
|
constructor(client) {
|
|
6647
7014
|
this.client = client;
|
|
@@ -6743,7 +7110,7 @@ var SellersClient4 = class {
|
|
|
6743
7110
|
};
|
|
6744
7111
|
|
|
6745
7112
|
// src/leboncoin/reference.ts
|
|
6746
|
-
var
|
|
7113
|
+
var ReferenceClient11 = class {
|
|
6747
7114
|
client;
|
|
6748
7115
|
constructor(client) {
|
|
6749
7116
|
this.client = client;
|
|
@@ -6814,15 +7181,15 @@ var LeboncoinClient = class {
|
|
|
6814
7181
|
* @param client - The base HTTP client for making requests.
|
|
6815
7182
|
*/
|
|
6816
7183
|
constructor(client) {
|
|
6817
|
-
this.search = new
|
|
7184
|
+
this.search = new SearchClient14(client);
|
|
6818
7185
|
this.ads = new AdsClient2(client);
|
|
6819
7186
|
this.sellers = new SellersClient4(client);
|
|
6820
|
-
this.reference = new
|
|
7187
|
+
this.reference = new ReferenceClient11(client);
|
|
6821
7188
|
}
|
|
6822
7189
|
};
|
|
6823
7190
|
|
|
6824
7191
|
// src/zillow/search.ts
|
|
6825
|
-
var
|
|
7192
|
+
var SearchClient15 = class {
|
|
6826
7193
|
client;
|
|
6827
7194
|
constructor(client) {
|
|
6828
7195
|
this.client = client;
|
|
@@ -6926,7 +7293,7 @@ var AgentClient = class {
|
|
|
6926
7293
|
};
|
|
6927
7294
|
|
|
6928
7295
|
// src/zillow/reference.ts
|
|
6929
|
-
var
|
|
7296
|
+
var ReferenceClient12 = class {
|
|
6930
7297
|
client;
|
|
6931
7298
|
constructor(client) {
|
|
6932
7299
|
this.client = client;
|
|
@@ -6957,10 +7324,10 @@ var ZillowClient = class {
|
|
|
6957
7324
|
* @param client - The base HTTP client for making requests.
|
|
6958
7325
|
*/
|
|
6959
7326
|
constructor(client) {
|
|
6960
|
-
this.search = new
|
|
7327
|
+
this.search = new SearchClient15(client);
|
|
6961
7328
|
this.properties = new PropertiesClient2(client);
|
|
6962
7329
|
this.agent = new AgentClient(client);
|
|
6963
|
-
this.reference = new
|
|
7330
|
+
this.reference = new ReferenceClient12(client);
|
|
6964
7331
|
}
|
|
6965
7332
|
};
|
|
6966
7333
|
|
|
@@ -7095,7 +7462,7 @@ var ImmobiliareClient = class {
|
|
|
7095
7462
|
};
|
|
7096
7463
|
|
|
7097
7464
|
// src/loopnet/search.ts
|
|
7098
|
-
var
|
|
7465
|
+
var SearchClient16 = class {
|
|
7099
7466
|
client;
|
|
7100
7467
|
constructor(client) {
|
|
7101
7468
|
this.client = client;
|
|
@@ -7176,7 +7543,7 @@ var BrokersClient = class {
|
|
|
7176
7543
|
};
|
|
7177
7544
|
|
|
7178
7545
|
// src/loopnet/reference.ts
|
|
7179
|
-
var
|
|
7546
|
+
var ReferenceClient13 = class {
|
|
7180
7547
|
client;
|
|
7181
7548
|
constructor(client) {
|
|
7182
7549
|
this.client = client;
|
|
@@ -7219,10 +7586,10 @@ var LoopNetClient = class {
|
|
|
7219
7586
|
* @param client - The base HTTP client for making requests.
|
|
7220
7587
|
*/
|
|
7221
7588
|
constructor(client) {
|
|
7222
|
-
this.search = new
|
|
7589
|
+
this.search = new SearchClient16(client);
|
|
7223
7590
|
this.listings = new ListingsClient2(client);
|
|
7224
7591
|
this.brokers = new BrokersClient(client);
|
|
7225
|
-
this.reference = new
|
|
7592
|
+
this.reference = new ReferenceClient13(client);
|
|
7226
7593
|
}
|
|
7227
7594
|
};
|
|
7228
7595
|
|
|
@@ -7583,7 +7950,7 @@ var BrandClient = class {
|
|
|
7583
7950
|
};
|
|
7584
7951
|
|
|
7585
7952
|
// src/chatgpt/reference.ts
|
|
7586
|
-
var
|
|
7953
|
+
var ReferenceClient14 = class {
|
|
7587
7954
|
client;
|
|
7588
7955
|
constructor(client) {
|
|
7589
7956
|
this.client = client;
|
|
@@ -7629,7 +7996,7 @@ var ChatGPTClient = class {
|
|
|
7629
7996
|
constructor(client) {
|
|
7630
7997
|
this.ask = new AskClient(client);
|
|
7631
7998
|
this.brand = new BrandClient(client);
|
|
7632
|
-
this.reference = new
|
|
7999
|
+
this.reference = new ReferenceClient14(client);
|
|
7633
8000
|
}
|
|
7634
8001
|
};
|
|
7635
8002
|
|
|
@@ -7662,6 +8029,12 @@ var ScrapeBadger = class {
|
|
|
7662
8029
|
ebay;
|
|
7663
8030
|
/** Walmart scraper API client — 11 endpoints (walmart.com, US-only) */
|
|
7664
8031
|
walmart;
|
|
8032
|
+
/** DuckDuckGo scraper API client — search, images, news, videos, autocomplete, instant, regions */
|
|
8033
|
+
duckduckgo;
|
|
8034
|
+
/** Bing scraper API client — 6 endpoints (search, images, videos, news, autocomplete, markets) */
|
|
8035
|
+
bing;
|
|
8036
|
+
/** Baidu scraper API client — search, news, images, autocomplete (baidu.com, China's #1 search engine) */
|
|
8037
|
+
baidu;
|
|
7665
8038
|
/** YouTube scraper API client — 39 endpoints */
|
|
7666
8039
|
youtube;
|
|
7667
8040
|
/** Realtor scraper API client — 4 endpoints across 2 markets (us, ca) */
|
|
@@ -7727,6 +8100,9 @@ var ScrapeBadger = class {
|
|
|
7727
8100
|
this.tiktok = new TikTokClient(this.baseClient);
|
|
7728
8101
|
this.ebay = new EbayClient(this.baseClient);
|
|
7729
8102
|
this.walmart = new WalmartClient(this.baseClient);
|
|
8103
|
+
this.duckduckgo = new DuckDuckGoClient(this.baseClient);
|
|
8104
|
+
this.bing = new BingClient(this.baseClient);
|
|
8105
|
+
this.baidu = new BaiduClient(this.baseClient);
|
|
7730
8106
|
this.youtube = new YoutubeClient(this.baseClient);
|
|
7731
8107
|
this.realtor = new RealtorClient(this.baseClient);
|
|
7732
8108
|
this.leboncoin = new LeboncoinClient(this.baseClient);
|
|
@@ -7748,13 +8124,23 @@ exports.AmazonSearchClient = SearchClient5;
|
|
|
7748
8124
|
exports.AmazonSellersClient = SellersClient;
|
|
7749
8125
|
exports.ApartmentsClient = ApartmentsClient;
|
|
7750
8126
|
exports.AuthenticationError = AuthenticationError;
|
|
8127
|
+
exports.BaiduClient = BaiduClient;
|
|
8128
|
+
exports.BingClient = BingClient;
|
|
8129
|
+
exports.BingMediaClient = MediaClient3;
|
|
8130
|
+
exports.BingNewsClient = NewsClient2;
|
|
8131
|
+
exports.BingReferenceClient = ReferenceClient8;
|
|
8132
|
+
exports.BingSearchClient = SearchClient11;
|
|
7751
8133
|
exports.ChatGPTAskClient = AskClient;
|
|
7752
8134
|
exports.ChatGPTBrandClient = BrandClient;
|
|
7753
8135
|
exports.ChatGPTClient = ChatGPTClient;
|
|
7754
|
-
exports.ChatGPTReferenceClient =
|
|
8136
|
+
exports.ChatGPTReferenceClient = ReferenceClient14;
|
|
7755
8137
|
exports.CommunitiesClient = CommunitiesClient;
|
|
7756
8138
|
exports.ConflictError = ConflictError;
|
|
7757
8139
|
exports.DepopClient = DepopClient;
|
|
8140
|
+
exports.DuckDuckGoClient = DuckDuckGoClient;
|
|
8141
|
+
exports.DuckDuckGoMediaClient = MediaClient2;
|
|
8142
|
+
exports.DuckDuckGoReferenceClient = ReferenceClient7;
|
|
8143
|
+
exports.DuckDuckGoSearchClient = SearchClient10;
|
|
7758
8144
|
exports.EbayCategoriesClient = CategoriesClient;
|
|
7759
8145
|
exports.EbayClient = EbayClient;
|
|
7760
8146
|
exports.EbayItemsClient = ItemsClient2;
|
|
@@ -7792,22 +8178,22 @@ exports.InstagramUsersClient = UsersClient4;
|
|
|
7792
8178
|
exports.InsufficientCreditsError = InsufficientCreditsError;
|
|
7793
8179
|
exports.LeboncoinAdsClient = AdsClient2;
|
|
7794
8180
|
exports.LeboncoinClient = LeboncoinClient;
|
|
7795
|
-
exports.LeboncoinReferenceClient =
|
|
7796
|
-
exports.LeboncoinSearchClient =
|
|
8181
|
+
exports.LeboncoinReferenceClient = ReferenceClient11;
|
|
8182
|
+
exports.LeboncoinSearchClient = SearchClient14;
|
|
7797
8183
|
exports.LeboncoinSellersClient = SellersClient4;
|
|
7798
8184
|
exports.LinkedInClient = LinkedInClient;
|
|
7799
8185
|
exports.ListsClient = ListsClient;
|
|
7800
8186
|
exports.LoopNetBrokersClient = BrokersClient;
|
|
7801
8187
|
exports.LoopNetClient = LoopNetClient;
|
|
7802
8188
|
exports.LoopNetListingsClient = ListingsClient2;
|
|
7803
|
-
exports.LoopNetReferenceClient =
|
|
7804
|
-
exports.LoopNetSearchClient =
|
|
8189
|
+
exports.LoopNetReferenceClient = ReferenceClient13;
|
|
8190
|
+
exports.LoopNetSearchClient = SearchClient16;
|
|
7805
8191
|
exports.NotFoundError = NotFoundError;
|
|
7806
8192
|
exports.RateLimitError = RateLimitError;
|
|
7807
8193
|
exports.RealtorClient = RealtorClient;
|
|
7808
8194
|
exports.RealtorPropertiesClient = PropertiesClient;
|
|
7809
|
-
exports.RealtorReferenceClient =
|
|
7810
|
-
exports.RealtorSearchClient =
|
|
8195
|
+
exports.RealtorReferenceClient = ReferenceClient10;
|
|
8196
|
+
exports.RealtorSearchClient = SearchClient13;
|
|
7811
8197
|
exports.RedditClient = RedditClient;
|
|
7812
8198
|
exports.RedditPostsClient = PostsClient;
|
|
7813
8199
|
exports.RedditSearchClient = SearchClient3;
|
|
@@ -7857,16 +8243,16 @@ exports.YoutubeClient = YoutubeClient;
|
|
|
7857
8243
|
exports.YoutubeCommunityClient = CommunityClient;
|
|
7858
8244
|
exports.YoutubeMusicClient = MusicClient2;
|
|
7859
8245
|
exports.YoutubePlaylistsClient = PlaylistsClient;
|
|
7860
|
-
exports.YoutubeReferenceClient =
|
|
7861
|
-
exports.YoutubeSearchClient =
|
|
8246
|
+
exports.YoutubeReferenceClient = ReferenceClient9;
|
|
8247
|
+
exports.YoutubeSearchClient = SearchClient12;
|
|
7862
8248
|
exports.YoutubeShortsClient = ShortsClient2;
|
|
7863
8249
|
exports.YoutubeTrendingClient = TrendingClient2;
|
|
7864
8250
|
exports.YoutubeVideosClient = VideosClient3;
|
|
7865
8251
|
exports.ZillowAgentClient = AgentClient;
|
|
7866
8252
|
exports.ZillowClient = ZillowClient;
|
|
7867
8253
|
exports.ZillowPropertiesClient = PropertiesClient2;
|
|
7868
|
-
exports.ZillowReferenceClient =
|
|
7869
|
-
exports.ZillowSearchClient =
|
|
8254
|
+
exports.ZillowReferenceClient = ReferenceClient12;
|
|
8255
|
+
exports.ZillowSearchClient = SearchClient15;
|
|
7870
8256
|
exports.collectAll = collectAll;
|
|
7871
8257
|
exports.verifyWebhookSignature = verifyWebhookSignature;
|
|
7872
8258
|
//# sourceMappingURL=index.js.map
|