scavio 0.21.1 → 0.23.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 +181 -4
- package/dist/index.cjs +398 -32
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +601 -28
- package/dist/index.d.ts +601 -28
- package/dist/index.js +384 -31
- package/dist/index.js.map +1 -1
- package/package.json +5 -2
package/dist/index.d.cts
CHANGED
|
@@ -489,6 +489,23 @@ interface RedditPopularOptions {
|
|
|
489
489
|
cursor?: string;
|
|
490
490
|
[key: string]: unknown;
|
|
491
491
|
}
|
|
492
|
+
type RedditCommentSearchSort = "RELEVANCE" | "HOT" | "TOP" | "NEW";
|
|
493
|
+
interface RedditSearchCommentsOptions {
|
|
494
|
+
/** Search query (1-500 characters). */
|
|
495
|
+
query: string;
|
|
496
|
+
/** Sort order (server default 'RELEVANCE'). */
|
|
497
|
+
sort?: RedditCommentSearchSort;
|
|
498
|
+
/** Pagination cursor from a prior response. */
|
|
499
|
+
cursor?: string;
|
|
500
|
+
[key: string]: unknown;
|
|
501
|
+
}
|
|
502
|
+
interface RedditSearchSubredditsOptions {
|
|
503
|
+
/** Search query (1-500 characters). */
|
|
504
|
+
query: string;
|
|
505
|
+
/** Pagination cursor from a prior response. */
|
|
506
|
+
cursor?: string;
|
|
507
|
+
[key: string]: unknown;
|
|
508
|
+
}
|
|
492
509
|
declare class RedditNamespace {
|
|
493
510
|
private client;
|
|
494
511
|
constructor(client: Scavio);
|
|
@@ -509,6 +526,17 @@ declare class RedditNamespace {
|
|
|
509
526
|
userComments(options: RedditUserFeedOptions): Promise<Record<string, unknown>>;
|
|
510
527
|
popular(options?: RedditPopularOptions): Promise<Record<string, unknown>>;
|
|
511
528
|
trending(): Promise<Record<string, unknown>>;
|
|
529
|
+
/**
|
|
530
|
+
* Search Reddit comments by keyword. Each result carries the comment text,
|
|
531
|
+
* author, score and date, plus the post and subreddit it was left on.
|
|
532
|
+
* Costs 1 credit.
|
|
533
|
+
*/
|
|
534
|
+
searchComments(options: RedditSearchCommentsOptions): Promise<Record<string, unknown>>;
|
|
535
|
+
/**
|
|
536
|
+
* Find subreddits by keyword, with subscriber counts, descriptions and NSFW
|
|
537
|
+
* flags. Costs 1 credit.
|
|
538
|
+
*/
|
|
539
|
+
searchSubreddits(options: RedditSearchSubredditsOptions): Promise<Record<string, unknown>>;
|
|
512
540
|
}
|
|
513
541
|
|
|
514
542
|
interface TikTokProfileOptions {
|
|
@@ -534,6 +562,15 @@ interface TikTokVideoOptions {
|
|
|
534
562
|
video_id: string;
|
|
535
563
|
[key: string]: unknown;
|
|
536
564
|
}
|
|
565
|
+
interface TikTokVideoTranscriptOptions {
|
|
566
|
+
/** TikTok video id. Pass this or `url`. */
|
|
567
|
+
video_id?: string;
|
|
568
|
+
/** A TikTok video URL or share link (alternative to video_id, max 2000 characters). */
|
|
569
|
+
url?: string;
|
|
570
|
+
/** Preferred transcript language as a 2-letter code; defaults to the original spoken language. */
|
|
571
|
+
language?: string;
|
|
572
|
+
[key: string]: unknown;
|
|
573
|
+
}
|
|
537
574
|
interface TikTokVideoCommentsOptions {
|
|
538
575
|
/** TikTok video id. */
|
|
539
576
|
video_id: string;
|
|
@@ -614,12 +651,90 @@ interface TikTokUserFollowingsOptions {
|
|
|
614
651
|
min_time?: number;
|
|
615
652
|
[key: string]: unknown;
|
|
616
653
|
}
|
|
654
|
+
interface TikTokTrendingVideosOptions {
|
|
655
|
+
/** Requested videos (1-15, server default 15). About 6 come back per call whatever is set. */
|
|
656
|
+
count?: number;
|
|
657
|
+
[key: string]: unknown;
|
|
658
|
+
}
|
|
659
|
+
interface TikTokSearchSuggestionsOptions {
|
|
660
|
+
/** Seed keyword (1-500 characters). */
|
|
661
|
+
keyword: string;
|
|
662
|
+
[key: string]: unknown;
|
|
663
|
+
}
|
|
664
|
+
interface TikTokMusicOptions {
|
|
665
|
+
/** The sound's numeric id, as a string. */
|
|
666
|
+
music_id: string;
|
|
667
|
+
[key: string]: unknown;
|
|
668
|
+
}
|
|
669
|
+
interface TikTokMusicVideosOptions {
|
|
670
|
+
/** The sound's numeric id, as a string. */
|
|
671
|
+
music_id: string;
|
|
672
|
+
/** Pagination cursor (default '0'). */
|
|
673
|
+
cursor?: string;
|
|
674
|
+
/** Videos per page (1-30). Ignored upstream; pages hold about 14. */
|
|
675
|
+
count?: number;
|
|
676
|
+
[key: string]: unknown;
|
|
677
|
+
}
|
|
678
|
+
interface TikTokSearchMusicOptions {
|
|
679
|
+
/** Search keyword (1-500 characters). */
|
|
680
|
+
keyword: string;
|
|
681
|
+
/** Pagination offset: the previous response's cursor (default '0'). */
|
|
682
|
+
cursor?: string;
|
|
683
|
+
/** Sounds per page (1-20). */
|
|
684
|
+
count?: number;
|
|
685
|
+
[key: string]: unknown;
|
|
686
|
+
}
|
|
687
|
+
interface TikTokMusicChartOptions {
|
|
688
|
+
/** 'top' = Top 50 (server default), 'viral' = Viral 50. */
|
|
689
|
+
chart?: "top" | "viral";
|
|
690
|
+
/** Pagination cursor (default '0'). */
|
|
691
|
+
cursor?: string;
|
|
692
|
+
/** Sounds per page (1-50). */
|
|
693
|
+
count?: number;
|
|
694
|
+
[key: string]: unknown;
|
|
695
|
+
}
|
|
696
|
+
interface TikTokUserSimilarOptions {
|
|
697
|
+
/** TikTok sec_user_id. */
|
|
698
|
+
sec_user_id: string;
|
|
699
|
+
/** next_page_token from a prior response. */
|
|
700
|
+
page_token?: string;
|
|
701
|
+
[key: string]: unknown;
|
|
702
|
+
}
|
|
703
|
+
interface TikTokUserPlaylistsOptions {
|
|
704
|
+
/** TikTok sec_user_id. */
|
|
705
|
+
sec_user_id: string;
|
|
706
|
+
/** Pagination cursor (default '0'). */
|
|
707
|
+
cursor?: string;
|
|
708
|
+
/** Playlists per page (1-30). */
|
|
709
|
+
count?: number;
|
|
710
|
+
[key: string]: unknown;
|
|
711
|
+
}
|
|
712
|
+
interface TikTokPlaylistVideosOptions {
|
|
713
|
+
/** The playlist's numeric id (mixId from userPlaylists), as a string. */
|
|
714
|
+
playlist_id: string;
|
|
715
|
+
/** Pagination cursor (default '0'). */
|
|
716
|
+
cursor?: string;
|
|
717
|
+
/** Videos per page (1-30). */
|
|
718
|
+
count?: number;
|
|
719
|
+
[key: string]: unknown;
|
|
720
|
+
}
|
|
721
|
+
interface TikTokUsernameOptions {
|
|
722
|
+
/** TikTok username, with or without the @. */
|
|
723
|
+
username: string;
|
|
724
|
+
[key: string]: unknown;
|
|
725
|
+
}
|
|
617
726
|
declare class TikTokNamespace {
|
|
618
727
|
private client;
|
|
619
728
|
constructor(client: Scavio);
|
|
620
729
|
profile(options: TikTokProfileOptions): Promise<Record<string, unknown>>;
|
|
621
730
|
userPosts(options: TikTokUserPostsOptions): Promise<Record<string, unknown>>;
|
|
622
731
|
video(options: TikTokVideoOptions): Promise<Record<string, unknown>>;
|
|
732
|
+
/**
|
|
733
|
+
* Spoken-word transcript of a TikTok video, as timestamped segments and
|
|
734
|
+
* full text. Pass `video_id` or `url`. Videos with no spoken captions
|
|
735
|
+
* (music, dance, muted clips) return `available: false`. 1 credit.
|
|
736
|
+
*/
|
|
737
|
+
videoTranscript(options: TikTokVideoTranscriptOptions): Promise<Record<string, unknown>>;
|
|
623
738
|
videoComments(options: TikTokVideoCommentsOptions): Promise<Record<string, unknown>>;
|
|
624
739
|
commentReplies(options: TikTokCommentRepliesOptions): Promise<Record<string, unknown>>;
|
|
625
740
|
searchVideos(options: TikTokSearchVideosOptions): Promise<Record<string, unknown>>;
|
|
@@ -628,6 +743,83 @@ declare class TikTokNamespace {
|
|
|
628
743
|
hashtagVideos(options: TikTokHashtagVideosOptions): Promise<Record<string, unknown>>;
|
|
629
744
|
userFollowers(options: TikTokUserFollowersOptions): Promise<Record<string, unknown>>;
|
|
630
745
|
userFollowings(options: TikTokUserFollowingsOptions): Promise<Record<string, unknown>>;
|
|
746
|
+
/**
|
|
747
|
+
* Search terms trending on TikTok now (about 90 per call, US-weighted, no
|
|
748
|
+
* region filter). Costs 1 credit.
|
|
749
|
+
*/
|
|
750
|
+
trendingSearches(): Promise<Record<string, unknown>>;
|
|
751
|
+
/**
|
|
752
|
+
* A sample of videos trending on TikTok now, with author, stats, sound and
|
|
753
|
+
* hashtags. Each call returns about 6 videos whatever `count` is set to;
|
|
754
|
+
* call again for a fresh sample. No region filter. Costs 1 credit.
|
|
755
|
+
* Returns TikTok's raw payload: large numeric ids can lose precision as JSON
|
|
756
|
+
* numbers, so use the string forms (`id_str`, `sec_uid`).
|
|
757
|
+
*/
|
|
758
|
+
trendingVideos(options?: TikTokTrendingVideosOptions): Promise<Record<string, unknown>>;
|
|
759
|
+
/**
|
|
760
|
+
* TikTok search autocomplete suggestions for a keyword. Long-tail keywords
|
|
761
|
+
* can return none, which is still a billed answer. Costs 1 credit.
|
|
762
|
+
*/
|
|
763
|
+
searchSuggestions(options: TikTokSearchSuggestionsOptions): Promise<Record<string, unknown>>;
|
|
764
|
+
/**
|
|
765
|
+
* A TikTok sound by id: title, artist, album, duration, how many videos use
|
|
766
|
+
* it, original vs commercial, play URL, cover, and chart rank when charting.
|
|
767
|
+
* Costs 1 credit.
|
|
768
|
+
* Returns TikTok's raw payload: large numeric ids can lose precision as JSON
|
|
769
|
+
* numbers, so use the string forms (`id_str`, `sec_uid`).
|
|
770
|
+
*/
|
|
771
|
+
music(options: TikTokMusicOptions): Promise<Record<string, unknown>>;
|
|
772
|
+
/**
|
|
773
|
+
* Videos that use a TikTok sound, about 14 per page (`count` is ignored
|
|
774
|
+
* upstream). Costs 1 credit.
|
|
775
|
+
* Returns TikTok's raw payload: large numeric ids can lose precision as JSON
|
|
776
|
+
* numbers, so use the string forms (`id_str`, `sec_uid`).
|
|
777
|
+
*/
|
|
778
|
+
musicVideos(options: TikTokMusicVideosOptions): Promise<Record<string, unknown>>;
|
|
779
|
+
/**
|
|
780
|
+
* Search TikTok sounds by keyword: id, title, artist, duration, usage count
|
|
781
|
+
* and play URL. Costs 1 credit.
|
|
782
|
+
* Returns TikTok's raw payload: large numeric ids can lose precision as JSON
|
|
783
|
+
* numbers, so use the string forms (`id_str`, `sec_uid`).
|
|
784
|
+
*/
|
|
785
|
+
searchMusic(options: TikTokSearchMusicOptions): Promise<Record<string, unknown>>;
|
|
786
|
+
/**
|
|
787
|
+
* TikTok's Top 50 or Viral 50 sound chart, with each sound's details and
|
|
788
|
+
* trend. One global chart, no region filter. Costs 1 credit.
|
|
789
|
+
* Returns TikTok's raw payload: large numeric ids can lose precision as JSON
|
|
790
|
+
* numbers, so use the string forms (`id_str`, `sec_uid`).
|
|
791
|
+
*/
|
|
792
|
+
musicChart(options?: TikTokMusicChartOptions): Promise<Record<string, unknown>>;
|
|
793
|
+
/**
|
|
794
|
+
* Creators similar to a TikTok user (about 30 per page), with follower,
|
|
795
|
+
* following, video and like counts, bio and verification. Costs 1 credit.
|
|
796
|
+
* Returns TikTok's raw payload: large numeric ids can lose precision as JSON
|
|
797
|
+
* numbers, so use the string forms (`id_str`, `sec_uid`).
|
|
798
|
+
*/
|
|
799
|
+
userSimilar(options: TikTokUserSimilarOptions): Promise<Record<string, unknown>>;
|
|
800
|
+
/**
|
|
801
|
+
* A TikTok user's playlists (series): id, name, video count and cover.
|
|
802
|
+
* Accounts without playlists return an empty list. Costs 1 credit.
|
|
803
|
+
*/
|
|
804
|
+
userPlaylists(options: TikTokUserPlaylistsOptions): Promise<Record<string, unknown>>;
|
|
805
|
+
/**
|
|
806
|
+
* Videos in a TikTok playlist, with pagination. Costs 1 credit.
|
|
807
|
+
* Returns TikTok's raw payload: large numeric ids can lose precision as JSON
|
|
808
|
+
* numbers, so use the string forms (`id_str`, `sec_uid`).
|
|
809
|
+
*/
|
|
810
|
+
playlistVideos(options: TikTokPlaylistVideosOptions): Promise<Record<string, unknown>>;
|
|
811
|
+
/**
|
|
812
|
+
* Whether a TikTok user is live now: the user, live room status (2 = live,
|
|
813
|
+
* 4 = not live), title, start time and viewer counts. An unknown username is
|
|
814
|
+
* a billed 404. Costs 1 credit.
|
|
815
|
+
*/
|
|
816
|
+
userLive(options: TikTokUsernameOptions): Promise<Record<string, unknown>>;
|
|
817
|
+
/**
|
|
818
|
+
* The region a TikTok account is registered in (ISO country code, not the
|
|
819
|
+
* creator's nationality), plus its user id and sec_user_id. An unknown
|
|
820
|
+
* username is a 404 and is not billed. Costs 1 credit.
|
|
821
|
+
*/
|
|
822
|
+
userRegion(options: TikTokUsernameOptions): Promise<Record<string, unknown>>;
|
|
631
823
|
}
|
|
632
824
|
|
|
633
825
|
/** Marketplace regions served by suggestions, product, reviews, and shop products. */
|
|
@@ -1269,6 +1461,18 @@ interface YouTubeStreamsOptions {
|
|
|
1269
1461
|
video_id: string;
|
|
1270
1462
|
[key: string]: unknown;
|
|
1271
1463
|
}
|
|
1464
|
+
interface YouTubeCommunityPostOptions {
|
|
1465
|
+
/** Community post id or post URL. */
|
|
1466
|
+
post_id: string;
|
|
1467
|
+
[key: string]: unknown;
|
|
1468
|
+
}
|
|
1469
|
+
interface YouTubeCommunityPostCommentsOptions {
|
|
1470
|
+
/** Community post id or post URL. */
|
|
1471
|
+
post_id: string;
|
|
1472
|
+
/** next_cursor from a prior page, or comments_cursor from communityPost. */
|
|
1473
|
+
cursor?: string;
|
|
1474
|
+
[key: string]: unknown;
|
|
1475
|
+
}
|
|
1272
1476
|
declare class YouTubeNamespace {
|
|
1273
1477
|
private client;
|
|
1274
1478
|
constructor(client: Scavio);
|
|
@@ -1280,6 +1484,7 @@ declare class YouTubeNamespace {
|
|
|
1280
1484
|
metadata(options: YouTubeMetadataOptions): Promise<Record<string, unknown>>;
|
|
1281
1485
|
comments(options: YouTubeCommentsOptions): Promise<Record<string, unknown>>;
|
|
1282
1486
|
commentReplies(options: YouTubeCommentRepliesOptions): Promise<Record<string, unknown>>;
|
|
1487
|
+
/** Transcript / captions for a YouTube video. Costs 5 credits. */
|
|
1283
1488
|
transcript(options: YouTubeTranscriptOptions): Promise<Record<string, unknown>>;
|
|
1284
1489
|
related(options: YouTubeRelatedOptions): Promise<Record<string, unknown>>;
|
|
1285
1490
|
channelSearch(options: YouTubeChannelSearchOptions): Promise<Record<string, unknown>>;
|
|
@@ -1289,6 +1494,17 @@ declare class YouTubeNamespace {
|
|
|
1289
1494
|
channelCommunity(options: YouTubeChannelCommunityOptions): Promise<Record<string, unknown>>;
|
|
1290
1495
|
channelResolve(options: YouTubeChannelResolveOptions): Promise<Record<string, unknown>>;
|
|
1291
1496
|
streams(options: YouTubeStreamsOptions): Promise<Record<string, unknown>>;
|
|
1497
|
+
/**
|
|
1498
|
+
* A single YouTube community post: text, author, likes, comment count,
|
|
1499
|
+
* attached images, and a comments_cursor for communityPostComments.
|
|
1500
|
+
* Costs 1 credit.
|
|
1501
|
+
*/
|
|
1502
|
+
communityPost(options: YouTubeCommunityPostOptions): Promise<Record<string, unknown>>;
|
|
1503
|
+
/**
|
|
1504
|
+
* Comments on a YouTube community post, with likes, reply counts and
|
|
1505
|
+
* pagination. Costs 1 credit.
|
|
1506
|
+
*/
|
|
1507
|
+
communityPostComments(options: YouTubeCommunityPostCommentsOptions): Promise<Record<string, unknown>>;
|
|
1292
1508
|
}
|
|
1293
1509
|
|
|
1294
1510
|
interface XSearchOptions {
|
|
@@ -1338,6 +1554,27 @@ interface XTrendingOptions {
|
|
|
1338
1554
|
country?: string;
|
|
1339
1555
|
[key: string]: unknown;
|
|
1340
1556
|
}
|
|
1557
|
+
interface XSearchCommunitiesOptions {
|
|
1558
|
+
/** Search query (1-500 characters). */
|
|
1559
|
+
keyword: string;
|
|
1560
|
+
/** Pagination cursor from a prior response. */
|
|
1561
|
+
cursor?: string;
|
|
1562
|
+
[key: string]: unknown;
|
|
1563
|
+
}
|
|
1564
|
+
interface XCommunityOptions {
|
|
1565
|
+
/** Numeric X Community id, as a string. */
|
|
1566
|
+
community_id: string;
|
|
1567
|
+
[key: string]: unknown;
|
|
1568
|
+
}
|
|
1569
|
+
interface XCommunityTweetsOptions {
|
|
1570
|
+
/** Numeric X Community id, as a string. */
|
|
1571
|
+
community_id: string;
|
|
1572
|
+
/** Ordering (server default: the community's own). */
|
|
1573
|
+
ranking?: "Relevance" | "Recency";
|
|
1574
|
+
/** Pagination cursor from a prior response. */
|
|
1575
|
+
cursor?: string;
|
|
1576
|
+
[key: string]: unknown;
|
|
1577
|
+
}
|
|
1341
1578
|
declare class XNamespace {
|
|
1342
1579
|
private client;
|
|
1343
1580
|
constructor(client: Scavio);
|
|
@@ -1352,6 +1589,21 @@ declare class XNamespace {
|
|
|
1352
1589
|
userFollowers(options: XUserFeedOptions): Promise<Record<string, unknown>>;
|
|
1353
1590
|
userFollowings(options: XUserFeedOptions): Promise<Record<string, unknown>>;
|
|
1354
1591
|
trending(options?: XTrendingOptions): Promise<Record<string, unknown>>;
|
|
1592
|
+
/**
|
|
1593
|
+
* Find X Communities by keyword, with member counts, topic and NSFW flag.
|
|
1594
|
+
* Costs 1 credit.
|
|
1595
|
+
*/
|
|
1596
|
+
searchCommunities(options: XSearchCommunitiesOptions): Promise<Record<string, unknown>>;
|
|
1597
|
+
/**
|
|
1598
|
+
* An X Community: name, description, creation date, member count, topic and
|
|
1599
|
+
* rules. Costs 1 credit.
|
|
1600
|
+
*/
|
|
1601
|
+
community(options: XCommunityOptions): Promise<Record<string, unknown>>;
|
|
1602
|
+
/**
|
|
1603
|
+
* Posts in an X Community, by relevance or recency, with pagination.
|
|
1604
|
+
* Costs 1 credit.
|
|
1605
|
+
*/
|
|
1606
|
+
communityTweets(options: XCommunityTweetsOptions): Promise<Record<string, unknown>>;
|
|
1355
1607
|
}
|
|
1356
1608
|
|
|
1357
1609
|
/** A member reference: a vanity handle, or a full profile URL. */
|
|
@@ -5084,6 +5336,273 @@ declare class MercadoLibreNamespace {
|
|
|
5084
5336
|
bestSellers(options: MercadoLibreBestSellersOptions): Promise<Record<string, unknown>>;
|
|
5085
5337
|
}
|
|
5086
5338
|
|
|
5339
|
+
/** Fetch tier, as on Extract: standard, renders JavaScript, hardest pages. */
|
|
5340
|
+
type ExtractMode = "normal" | "advanced" | "ultra";
|
|
5341
|
+
/** Return format for each page, as on Extract. */
|
|
5342
|
+
type ExtractFormat = "html" | "markdown" | "text";
|
|
5343
|
+
/** How a map or crawl uses the site's sitemaps. */
|
|
5344
|
+
type ExtractSitemapMode = "include" | "only" | "skip";
|
|
5345
|
+
interface ExtractMapOptions {
|
|
5346
|
+
/** The site to map. A bare host is upgraded to https. 1-2048 characters. */
|
|
5347
|
+
url: string;
|
|
5348
|
+
/** Only return URLs containing every word of this text (case-insensitive, max 200). */
|
|
5349
|
+
search?: string;
|
|
5350
|
+
/**
|
|
5351
|
+
* Maximum links to return, 1-5,000. Default 1,000 (or your plan's limit if
|
|
5352
|
+
* lower). Plan limits: Free 500, PAYG 1,000, paid plans 5,000.
|
|
5353
|
+
*/
|
|
5354
|
+
limit?: number;
|
|
5355
|
+
/**
|
|
5356
|
+
* "include" (default) combines the site's sitemaps with the links on the
|
|
5357
|
+
* start page; "only" uses sitemaps alone; "skip" uses page links alone.
|
|
5358
|
+
*/
|
|
5359
|
+
sitemap?: ExtractSitemapMode;
|
|
5360
|
+
/** Also return URLs on subdomains. Default false (www and the bare domain count as one site). */
|
|
5361
|
+
include_subdomains?: boolean;
|
|
5362
|
+
/** Path globs to keep (max 20). `*` matches within a segment, `**` across segments. */
|
|
5363
|
+
include_paths?: string[];
|
|
5364
|
+
/** Path globs to drop (max 20). */
|
|
5365
|
+
exclude_paths?: string[];
|
|
5366
|
+
/** Treat URLs that differ only by query string as one URL. Default true. */
|
|
5367
|
+
ignore_query_parameters?: boolean;
|
|
5368
|
+
/** Fetch tier. Default "normal" (1 credit). */
|
|
5369
|
+
mode?: ExtractMode;
|
|
5370
|
+
[key: string]: unknown;
|
|
5371
|
+
}
|
|
5372
|
+
interface ExtractCrawlOptions {
|
|
5373
|
+
/** Where the crawl starts. Only pages on the same site are crawled. */
|
|
5374
|
+
url: string;
|
|
5375
|
+
/**
|
|
5376
|
+
* Maximum pages to fetch, 1-10,000. Default 100. Plan limits: Free 10,
|
|
5377
|
+
* PAYG 100, Project 500, Bootstrap 2,000, Startup 5,000, Growth 10,000.
|
|
5378
|
+
*/
|
|
5379
|
+
max_pages?: number;
|
|
5380
|
+
/** Links away from the start page to follow, 0-10 (default 3). 0 fetches only the start page. */
|
|
5381
|
+
max_depth?: number;
|
|
5382
|
+
/** Path globs to crawl (max 20), e.g. ["/blog/**"]. */
|
|
5383
|
+
include_paths?: string[];
|
|
5384
|
+
/** Path globs to skip (max 20). */
|
|
5385
|
+
exclude_paths?: string[];
|
|
5386
|
+
/** Also crawl subdomains of the site. Default false. */
|
|
5387
|
+
allow_subdomains?: boolean;
|
|
5388
|
+
/** Treat URLs that differ only by query string as one page. Default true. */
|
|
5389
|
+
ignore_query_parameters?: boolean;
|
|
5390
|
+
/**
|
|
5391
|
+
* "include" (default) also starts from the site's sitemap; "skip" follows
|
|
5392
|
+
* links only; "only" fetches sitemap pages without following links.
|
|
5393
|
+
*/
|
|
5394
|
+
sitemap?: ExtractSitemapMode;
|
|
5395
|
+
/** Return format for each page. Default "markdown". */
|
|
5396
|
+
format?: ExtractFormat;
|
|
5397
|
+
/** Fetch tier, the price per successful page: normal 1, advanced 1, ultra 2. */
|
|
5398
|
+
mode?: ExtractMode;
|
|
5399
|
+
/**
|
|
5400
|
+
* https URL that receives a signed POST when the job completes, fails or is
|
|
5401
|
+
* cancelled. The signing secret comes back once, as `webhook_secret`.
|
|
5402
|
+
* Verify deliveries with `verifyWebhook`.
|
|
5403
|
+
*/
|
|
5404
|
+
webhook_url?: string;
|
|
5405
|
+
[key: string]: unknown;
|
|
5406
|
+
}
|
|
5407
|
+
interface ExtractBatchOptions {
|
|
5408
|
+
/**
|
|
5409
|
+
* The pages to extract (duplicates removed). Plan limits: Free 10, PAYG 50,
|
|
5410
|
+
* Project 100, Bootstrap 500, Startup and Growth 1,000.
|
|
5411
|
+
*/
|
|
5412
|
+
urls: string[];
|
|
5413
|
+
/** Return format for each page. Default "markdown". */
|
|
5414
|
+
format?: ExtractFormat;
|
|
5415
|
+
/** Fetch tier, the price per successful page: normal 1, advanced 1, ultra 2. */
|
|
5416
|
+
mode?: ExtractMode;
|
|
5417
|
+
/** https URL that receives a signed POST when the job finishes. See `ExtractCrawlOptions.webhook_url`. */
|
|
5418
|
+
webhook_url?: string;
|
|
5419
|
+
[key: string]: unknown;
|
|
5420
|
+
}
|
|
5421
|
+
/** Client-side options for starting a crawl or batch job. */
|
|
5422
|
+
interface ExtractJobRequestOptions {
|
|
5423
|
+
/**
|
|
5424
|
+
* Sent as the `Idempotency-Key` header. Repeating the POST with the same
|
|
5425
|
+
* key within 24 hours returns the original job instead of starting a new
|
|
5426
|
+
* one, so the SDK's automatic retries can never start a second job.
|
|
5427
|
+
*/
|
|
5428
|
+
idempotencyKey?: string;
|
|
5429
|
+
/**
|
|
5430
|
+
* Poll until the job finishes and return every result in one response
|
|
5431
|
+
* (all pages of the status endpoint, `next_cursor: null`). Default false:
|
|
5432
|
+
* return the 202 job handle immediately.
|
|
5433
|
+
*/
|
|
5434
|
+
wait?: boolean;
|
|
5435
|
+
/** With `wait`: milliseconds between status polls. Default 2,000. */
|
|
5436
|
+
pollInterval?: number;
|
|
5437
|
+
/**
|
|
5438
|
+
* With `wait`: give up after this many milliseconds and throw
|
|
5439
|
+
* `ScavioJobTimeoutError` (the job keeps running; its id is on the error).
|
|
5440
|
+
* Default 600,000 (10 minutes).
|
|
5441
|
+
*/
|
|
5442
|
+
waitTimeout?: number;
|
|
5443
|
+
}
|
|
5444
|
+
interface ExtractJobStatusQuery {
|
|
5445
|
+
/** `next_cursor` from the previous response. */
|
|
5446
|
+
cursor?: string;
|
|
5447
|
+
/** Results per response, 1-100 (default 25). Responses are also cut at about 5 MB of content. */
|
|
5448
|
+
limit?: number;
|
|
5449
|
+
/** Only results with this status. */
|
|
5450
|
+
status?: "succeeded" | "failed" | "skipped";
|
|
5451
|
+
/** Set false to page through results without their content. Default true. */
|
|
5452
|
+
include_content?: boolean;
|
|
5453
|
+
}
|
|
5454
|
+
interface ExtractMapLink {
|
|
5455
|
+
url: string;
|
|
5456
|
+
source: "sitemap" | "page";
|
|
5457
|
+
lastmod?: string;
|
|
5458
|
+
}
|
|
5459
|
+
interface ExtractMapResponse {
|
|
5460
|
+
data: {
|
|
5461
|
+
url: string;
|
|
5462
|
+
links: ExtractMapLink[];
|
|
5463
|
+
total_found: number;
|
|
5464
|
+
returned: number;
|
|
5465
|
+
truncated: boolean;
|
|
5466
|
+
sitemaps_read: number;
|
|
5467
|
+
};
|
|
5468
|
+
response_time: number;
|
|
5469
|
+
credits_used: number;
|
|
5470
|
+
credits_remaining: number;
|
|
5471
|
+
}
|
|
5472
|
+
interface ExtractJobCreatedResponse {
|
|
5473
|
+
data: {
|
|
5474
|
+
id: string;
|
|
5475
|
+
type: "crawl" | "batch";
|
|
5476
|
+
status: string;
|
|
5477
|
+
url: string | null;
|
|
5478
|
+
max_pages: number;
|
|
5479
|
+
max_depth: number;
|
|
5480
|
+
format: string;
|
|
5481
|
+
mode: string;
|
|
5482
|
+
credits_per_page: number;
|
|
5483
|
+
status_url: string;
|
|
5484
|
+
urls_count?: number;
|
|
5485
|
+
invalid_urls?: {
|
|
5486
|
+
url: string;
|
|
5487
|
+
error: string;
|
|
5488
|
+
}[];
|
|
5489
|
+
webhook_url?: string;
|
|
5490
|
+
/** Returned once, on creation. Keep it to verify webhook deliveries. */
|
|
5491
|
+
webhook_secret?: string;
|
|
5492
|
+
};
|
|
5493
|
+
credits_used: number;
|
|
5494
|
+
}
|
|
5495
|
+
type ExtractJobState = "queued" | "running" | "completed" | "failed" | "cancelled";
|
|
5496
|
+
interface ExtractJobSummary {
|
|
5497
|
+
id: string;
|
|
5498
|
+
type: string;
|
|
5499
|
+
status: ExtractJobState;
|
|
5500
|
+
/** Why a completed job stopped early: max_pages, insufficient_credits, time_limit, storage_limit, or cancelled. */
|
|
5501
|
+
stopped_reason: string | null;
|
|
5502
|
+
error: string | null;
|
|
5503
|
+
url: string | null;
|
|
5504
|
+
format: string;
|
|
5505
|
+
mode: string;
|
|
5506
|
+
pages: {
|
|
5507
|
+
discovered: number;
|
|
5508
|
+
queued: number;
|
|
5509
|
+
succeeded: number;
|
|
5510
|
+
failed: number;
|
|
5511
|
+
skipped: number;
|
|
5512
|
+
};
|
|
5513
|
+
credits_used: number;
|
|
5514
|
+
created_at: string | null;
|
|
5515
|
+
started_at: string | null;
|
|
5516
|
+
completed_at: string | null;
|
|
5517
|
+
/** Results are deleted after this time (3 days after the job finishes). */
|
|
5518
|
+
expires_at: string | null;
|
|
5519
|
+
webhook: {
|
|
5520
|
+
status: string | null;
|
|
5521
|
+
attempts: number;
|
|
5522
|
+
} | null;
|
|
5523
|
+
status_url: string;
|
|
5524
|
+
}
|
|
5525
|
+
interface ExtractJobResult {
|
|
5526
|
+
url: string;
|
|
5527
|
+
depth: number;
|
|
5528
|
+
status: "succeeded" | "failed" | "skipped";
|
|
5529
|
+
status_code: number | null;
|
|
5530
|
+
content?: string | null;
|
|
5531
|
+
content_length: number | null;
|
|
5532
|
+
truncated: boolean;
|
|
5533
|
+
error: string | null;
|
|
5534
|
+
skip_reason: string | null;
|
|
5535
|
+
credits: number;
|
|
5536
|
+
}
|
|
5537
|
+
interface ExtractJobStatusResponse {
|
|
5538
|
+
data: ExtractJobSummary & {
|
|
5539
|
+
results: ExtractJobResult[];
|
|
5540
|
+
next_cursor: string | null;
|
|
5541
|
+
};
|
|
5542
|
+
}
|
|
5543
|
+
interface ExtractJobSummaryResponse {
|
|
5544
|
+
data: ExtractJobSummary;
|
|
5545
|
+
}
|
|
5546
|
+
type WaitOptions = ExtractJobRequestOptions & {
|
|
5547
|
+
wait: true;
|
|
5548
|
+
};
|
|
5549
|
+
type NoWaitOptions = ExtractJobRequestOptions & {
|
|
5550
|
+
wait?: false;
|
|
5551
|
+
};
|
|
5552
|
+
/**
|
|
5553
|
+
* The website operations of Extract: map a site's URLs, crawl a site, and
|
|
5554
|
+
* extract a list of URLs in one job. Reached as `scavio.extract.map(...)`,
|
|
5555
|
+
* `scavio.extract.crawl(...)` and so on; `scavio.extract({ url })` itself
|
|
5556
|
+
* still reads a single page.
|
|
5557
|
+
*
|
|
5558
|
+
* Map is synchronous (1 credit). Crawl and batch are jobs: they return 202
|
|
5559
|
+
* with an id, and you poll the status method (free) for results, or pass
|
|
5560
|
+
* `{ wait: true }`. Jobs bill per SUCCESSFUL page at Extract's price for the
|
|
5561
|
+
* tier (normal 1, advanced 1, ultra 2); failed and skipped pages are free.
|
|
5562
|
+
*/
|
|
5563
|
+
declare class ExtractNamespace {
|
|
5564
|
+
private readonly client;
|
|
5565
|
+
constructor(client: Scavio);
|
|
5566
|
+
/**
|
|
5567
|
+
* List a site's page URLs, gathered from its sitemaps and its start page,
|
|
5568
|
+
* deduplicated, filtered by path and limited. Pages disallowed by the
|
|
5569
|
+
* site's robots.txt are left out. 1 credit on the normal tier.
|
|
5570
|
+
*/
|
|
5571
|
+
map(options: ExtractMapOptions): Promise<ExtractMapResponse>;
|
|
5572
|
+
/**
|
|
5573
|
+
* Start a crawl from one URL: same-site pages are discovered breadth-first
|
|
5574
|
+
* (URLs under the start path first) within your depth, page and path
|
|
5575
|
+
* limits, each returned like Extract. robots.txt is always obeyed. Returns
|
|
5576
|
+
* the 202 job handle, or every result when `wait` is true.
|
|
5577
|
+
*/
|
|
5578
|
+
crawl(options: ExtractCrawlOptions, request: WaitOptions): Promise<ExtractJobStatusResponse>;
|
|
5579
|
+
crawl(options: ExtractCrawlOptions, request?: NoWaitOptions): Promise<ExtractJobCreatedResponse>;
|
|
5580
|
+
crawl(options: ExtractCrawlOptions, request?: ExtractJobRequestOptions): Promise<ExtractJobCreatedResponse | ExtractJobStatusResponse>;
|
|
5581
|
+
/** A crawl's progress and its page results, paged by cursor. Free. */
|
|
5582
|
+
crawlStatus(id: string, query?: ExtractJobStatusQuery): Promise<ExtractJobStatusResponse>;
|
|
5583
|
+
/**
|
|
5584
|
+
* Stop a queued or running crawl. No further pages are fetched or billed;
|
|
5585
|
+
* results so far stay available. A finished crawl answers 409. Free.
|
|
5586
|
+
*/
|
|
5587
|
+
cancelCrawl(id: string): Promise<ExtractJobSummaryResponse>;
|
|
5588
|
+
/**
|
|
5589
|
+
* Extract a list of URLs in one job, each returned like Extract. Invalid
|
|
5590
|
+
* URLs come back in `invalid_urls` and are never billed. Returns the 202
|
|
5591
|
+
* job handle, or every result (in input order) when `wait` is true.
|
|
5592
|
+
*/
|
|
5593
|
+
batch(options: ExtractBatchOptions, request: WaitOptions): Promise<ExtractJobStatusResponse>;
|
|
5594
|
+
batch(options: ExtractBatchOptions, request?: NoWaitOptions): Promise<ExtractJobCreatedResponse>;
|
|
5595
|
+
batch(options: ExtractBatchOptions, request?: ExtractJobRequestOptions): Promise<ExtractJobCreatedResponse | ExtractJobStatusResponse>;
|
|
5596
|
+
/** A batch's progress and its page results in input order, paged by cursor. Free. */
|
|
5597
|
+
batchStatus(id: string, query?: ExtractJobStatusQuery): Promise<ExtractJobStatusResponse>;
|
|
5598
|
+
/** Stop a queued or running batch. A finished batch answers 409. Free. */
|
|
5599
|
+
cancelBatch(id: string): Promise<ExtractJobSummaryResponse>;
|
|
5600
|
+
private start;
|
|
5601
|
+
private status;
|
|
5602
|
+
private cancel;
|
|
5603
|
+
private waitFor;
|
|
5604
|
+
}
|
|
5605
|
+
|
|
5087
5606
|
/**
|
|
5088
5607
|
* Default client-side rate limit, safe on every plan including free.
|
|
5089
5608
|
*/
|
|
@@ -5128,14 +5647,56 @@ interface ExtractOptions {
|
|
|
5128
5647
|
/**
|
|
5129
5648
|
* Fetch tier, and THE PRICE-BEARING PARAM (default "normal").
|
|
5130
5649
|
*
|
|
5131
|
-
* - "normal":
|
|
5132
|
-
* - "advanced":
|
|
5133
|
-
* - "ultra":
|
|
5650
|
+
* - "normal": the standard fetch - 1 credit.
|
|
5651
|
+
* - "advanced": renders JavaScript, for JS-built pages - 1 credit.
|
|
5652
|
+
* - "ultra": the hardest pages and bot walls - 2 credits.
|
|
5134
5653
|
*/
|
|
5135
5654
|
mode?: "normal" | "advanced" | "ultra";
|
|
5136
5655
|
[key: string]: unknown;
|
|
5137
5656
|
}
|
|
5138
|
-
|
|
5657
|
+
/**
|
|
5658
|
+
* `scavio.extract`: call it to read one page, or use its methods for the
|
|
5659
|
+
* website operations - `scavio.extract.map()`, `.crawl()`, `.crawlStatus()`,
|
|
5660
|
+
* `.cancelCrawl()`, `.batch()`, `.batchStatus()`, `.cancelBatch()`.
|
|
5661
|
+
*/
|
|
5662
|
+
interface Extract extends ExtractNamespace {
|
|
5663
|
+
(options: ExtractOptions): Promise<Record<string, unknown>>;
|
|
5664
|
+
}
|
|
5665
|
+
/**
|
|
5666
|
+
* Holds the single-page Extract call. TypeScript cannot declare a method and
|
|
5667
|
+
* a property of the same name on one class, so the implementation lives here
|
|
5668
|
+
* and `Scavio` narrows `extract` to the callable `Extract` namespace, which
|
|
5669
|
+
* delegates to this method when called.
|
|
5670
|
+
*/
|
|
5671
|
+
declare abstract class ScavioCore {
|
|
5672
|
+
/** @internal */
|
|
5673
|
+
abstract _post(path: string, body: object, headers?: Record<string, string>): Promise<Record<string, unknown>>;
|
|
5674
|
+
/**
|
|
5675
|
+
* Read ANY web page and get it back as readability Markdown (the default),
|
|
5676
|
+
* plain text, or raw HTML. Returns `{ url, format, mode, content,
|
|
5677
|
+
* content_length }`.
|
|
5678
|
+
*
|
|
5679
|
+
* Extract is a core endpoint, not a platform: `scavio.extract({ url })`
|
|
5680
|
+
* reads one page, and `scavio.extract.map()` / `.crawl()` / `.batch()` work
|
|
5681
|
+
* on whole sites and URL lists.
|
|
5682
|
+
*
|
|
5683
|
+
* Credits are a function of `mode`, not a flat per-call constant:
|
|
5684
|
+
* "normal" costs 1, "advanced" costs 1, "ultra" costs 2. Billing happens
|
|
5685
|
+
* only on a successful extraction - a dead link, bot wall or timeout costs
|
|
5686
|
+
* nothing.
|
|
5687
|
+
*
|
|
5688
|
+
* Start on "normal". Move to "advanced" when the page builds its content in
|
|
5689
|
+
* the browser, and to "ultra" only when a bot wall blocks the other two.
|
|
5690
|
+
*
|
|
5691
|
+
* @example
|
|
5692
|
+
* const page = await scavio.extract({ url: "https://example.com/pricing" });
|
|
5693
|
+
* console.log(page.content);
|
|
5694
|
+
*/
|
|
5695
|
+
extract(options: ExtractOptions): Promise<Record<string, unknown>>;
|
|
5696
|
+
}
|
|
5697
|
+
declare class Scavio extends ScavioCore {
|
|
5698
|
+
/** Read one page (call it), or map / crawl / batch-extract (its methods). */
|
|
5699
|
+
readonly extract: Extract;
|
|
5139
5700
|
readonly google: GoogleNamespace;
|
|
5140
5701
|
readonly amazon: AmazonNamespace;
|
|
5141
5702
|
readonly walmart: WalmartNamespace;
|
|
@@ -5179,34 +5740,35 @@ declare class Scavio {
|
|
|
5179
5740
|
private readonly rateLimiter;
|
|
5180
5741
|
constructor(config?: ScavioConfig);
|
|
5181
5742
|
/** @internal */
|
|
5182
|
-
_post(path: string, body: object): Promise<Record<string, unknown>>;
|
|
5743
|
+
_post(path: string, body: object, headers?: Record<string, string>): Promise<Record<string, unknown>>;
|
|
5744
|
+
/** @internal */
|
|
5745
|
+
_get(path: string, query?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
|
|
5183
5746
|
/** @internal */
|
|
5184
|
-
|
|
5747
|
+
_delete(path: string): Promise<Record<string, unknown>>;
|
|
5185
5748
|
search(options: GoogleSearchOptions): Promise<Record<string, unknown>>;
|
|
5186
|
-
/**
|
|
5187
|
-
* Read ANY web page and get it back as readability Markdown (the default),
|
|
5188
|
-
* plain text, or raw HTML. Returns `{ url, format, mode, content,
|
|
5189
|
-
* content_length }`.
|
|
5190
|
-
*
|
|
5191
|
-
* This is a core endpoint, not a platform, so it lives on the client itself:
|
|
5192
|
-
* `scavio.extract({ url })`, never `scavio.extract.extract()`.
|
|
5193
|
-
*
|
|
5194
|
-
* Credits are a function of `mode`, not a flat per-call constant:
|
|
5195
|
-
* "normal" costs 1, "advanced" costs 1, "ultra" costs 2. Billing happens
|
|
5196
|
-
* only on a successful extraction - a dead link, bot wall or timeout costs
|
|
5197
|
-
* nothing.
|
|
5198
|
-
*
|
|
5199
|
-
* Start on "normal". Move to "advanced" when the page builds its content in
|
|
5200
|
-
* the browser, and to "ultra" only when a bot wall blocks the other two.
|
|
5201
|
-
*
|
|
5202
|
-
* @example
|
|
5203
|
-
* const page = await scavio.extract({ url: "https://example.com/pricing" });
|
|
5204
|
-
* console.log(page.content);
|
|
5205
|
-
*/
|
|
5206
|
-
extract(options: ExtractOptions): Promise<Record<string, unknown>>;
|
|
5207
5749
|
getUsage(): Promise<Record<string, unknown>>;
|
|
5208
5750
|
}
|
|
5209
5751
|
|
|
5752
|
+
/**
|
|
5753
|
+
* Verify a crawl or batch completion webhook from Scavio.
|
|
5754
|
+
*
|
|
5755
|
+
* Each delivery carries `Scavio-Signature: t=<unix>,v1=<hex>`, where v1 is
|
|
5756
|
+
* HMAC-SHA256 of `"<t>.<raw body>"` keyed with the job's `webhook_secret`
|
|
5757
|
+
* (returned once, when the job is created). Pass the RAW request body - the
|
|
5758
|
+
* exact bytes received, before any JSON parsing - or the signature will not
|
|
5759
|
+
* match.
|
|
5760
|
+
*
|
|
5761
|
+
* Uses Web Crypto, so it runs on Node 18+, Deno, Bun and edge runtimes; it is
|
|
5762
|
+
* async for that reason. Returns false (never throws) for a missing,
|
|
5763
|
+
* malformed, tampered or stale signature.
|
|
5764
|
+
*
|
|
5765
|
+
* @param secret The job's `webhook_secret` (`whsec_...`).
|
|
5766
|
+
* @param header The `Scavio-Signature` header value.
|
|
5767
|
+
* @param body The raw request body, as a string or bytes.
|
|
5768
|
+
* @param toleranceSec Maximum age of the signature in seconds (default 300).
|
|
5769
|
+
*/
|
|
5770
|
+
declare function verifyWebhook(secret: string, header: string | null | undefined, body: string | Uint8Array, toleranceSec?: number): Promise<boolean>;
|
|
5771
|
+
|
|
5210
5772
|
declare class ScavioError extends Error {
|
|
5211
5773
|
constructor(message: string);
|
|
5212
5774
|
}
|
|
@@ -5257,5 +5819,16 @@ declare class ScavioAPIError extends ScavioError {
|
|
|
5257
5819
|
readonly responseBody?: Record<string, unknown>;
|
|
5258
5820
|
constructor(statusCode: number, message: string, responseBody?: Record<string, unknown>);
|
|
5259
5821
|
}
|
|
5822
|
+
/**
|
|
5823
|
+
* A crawl or batch started with `{ wait: true }` did not finish within
|
|
5824
|
+
* `waitTimeout`. The job is still running: poll it with `jobId`, or cancel it.
|
|
5825
|
+
*/
|
|
5826
|
+
declare class ScavioJobTimeoutError extends ScavioError {
|
|
5827
|
+
readonly jobType: "crawl" | "batch";
|
|
5828
|
+
readonly jobId: string;
|
|
5829
|
+
readonly statusUrl: string;
|
|
5830
|
+
readonly lastStatus: string;
|
|
5831
|
+
constructor(jobType: "crawl" | "batch", jobId: string, statusUrl: string, lastStatus: string);
|
|
5832
|
+
}
|
|
5260
5833
|
|
|
5261
|
-
export { type AirbnbListingOptions, AirbnbNamespace, type AirbnbReviewsOptions, type AirbnbSearchOptions, AmazonNamespace, type AmazonOffersOptions, type AmazonProductOptions, type AmazonSearchOptions, type AppStoreAppOptions, AppStoreNamespace, type AppStoreReviewsOptions, type AppStoreSearchOptions, BadRequestError, type BookingHotelOptions, BookingNamespace, type BookingReviewsOptions, type BookingSearchOptions, CapterraNamespace, type CapterraProductOptions, type CapterraReviewsOptions, type CapterraSearchOptions, type CompaniesHouseCompanyOptions, type CompaniesHouseFilingHistoryOptions, CompaniesHouseNamespace, type CompaniesHouseOfficersOptions, type CompaniesHouseSearchOptions, type CostcoAutocompleteOptions, type CostcoAvailabilityOptions, type CostcoCategoriesOptions, type CostcoCategoryOptions, type CostcoClearanceOptions, type CostcoCountry, type CostcoCouponsOptions, type CostcoDealType, type CostcoDealsOptions, type CostcoGasOptions, type CostcoListingFilters, type CostcoNaCountry, CostcoNamespace, type CostcoPriceCode, type CostcoPricesOptions, type CostcoProductOptions, type CostcoReviewsOptions, type CostcoSearchOptions, type CostcoSortBy, type CostcoWarehousesOptions, DEFAULT_MAX_REQUESTS_PER_SECOND, EbayNamespace, type EbayProductOptions, type EbaySearchOptions, type EbaySellerOptions, type ExtractOptions, G2Namespace, type G2ProductOptions, type G2ReviewsOptions, type G2SearchOptions, type GlassdoorCompaniesOptions, type GlassdoorCompanyOptions, GlassdoorNamespace, type GlassdoorReviewsOptions, type GlassdoorSalariesOptions, type GoogleAdsAdvertisersOptions, type GoogleAdsCreativeOptions, GoogleAdsNamespace, type GoogleAdsSearchOptions, type GoogleAiModeOptions, type GoogleFlightsOptions, type GoogleHotelsDetailOptions, type GoogleHotelsOptions, type GoogleMapsPlaceOptions, type GoogleMapsReviewsOptions, type GoogleMapsSearchOptions, GoogleNamespace, type GoogleNewsOptions, type GooglePlayAppOptions, GooglePlayNamespace, type GooglePlayReviewsOptions, type GooglePlaySearchOptions, type GoogleSearchOptions, type GoogleShoppingOptions, type GoogleShoppingProductOptions, type GoogleShoppingStoresOptions, type GoogleTrendingOptions, type GoogleTrendsOptions, HomeDepotNamespace, type HomeDepotProductOptions, type HomeDepotReviewsOptions, type HomeDepotSearchOptions, type IndeedCompanyOptions, type IndeedCompanyReviewsOptions, type IndeedJobOptions, IndeedNamespace, type IndeedSearchOptions, type InstagramCommentRepliesOptions, type InstagramFollowOptions, InstagramNamespace, type InstagramPostCommentsOptions, type InstagramPostOptions, type InstagramProfileOptions, type InstagramSearchOptions, type InstagramStoriesOptions, type InstagramUserFeedOptions, InsufficientCreditsError, InvalidAPIKeyError, type KuaishouCommentRepliesOptions, KuaishouNamespace, type KuaishouProfileOptions, type KuaishouSearchLiveOptions, type KuaishouSearchOptions, type KuaishouSearchUsersOptions, type KuaishouSearchVideosOptions, type KuaishouTagFeedOptions, type KuaishouTrendingOptions, type KuaishouUserLiveOptions, type KuaishouUserPostsOptions, type KuaishouUserResolveOptions, type KuaishouVideoCommentsOptions, type KuaishouVideoOptions, type KuaishouVideosBatchOptions, type LinkedInCompanyOptions, type LinkedInCompanyPostsOptions, type LinkedInCompanyPostsRequest, type LinkedInCompanyRefOptions, type LinkedInJobOptions, LinkedInNamespace, type LinkedInPersonContactOptions, type LinkedInPersonOptions, type LinkedInPersonPostsOptions, type LinkedInPersonPostsRequest, type LinkedInPersonRefOptions, type LinkedInPostCommentsOptions, type LinkedInPostOptions, type LinkedInSearchJobsOptions, type LinkedInSearchPeopleOptions, type LinkedInSearchPostsOptions, MAX_REQUESTS_PER_SECOND, type MercadoLibreBestSellersCountry, type MercadoLibreBestSellersOptions, type MercadoLibreCondition, type MercadoLibreCountry, type MercadoLibreDiscount, MercadoLibreNamespace, type MercadoLibreProductOptions, type MercadoLibreQuestionsOptions, type MercadoLibreReviewsOptions, type MercadoLibreSearchOptions, type MercadoLibreSort, type MetaAdsAdOptions, type MetaAdsAdvertiserOptions, MetaAdsNamespace, type MetaAdsSearchOptions, MissingAPIKeyError, NotFoundError, RateLimitError, type RealtorAgentOptions, type RealtorAgentsOptions, type RealtorListingStatus, type RealtorLocationsOptions, type RealtorMarketOptions, RealtorNamespace, type RealtorPropertyOptions, type RealtorPropertyType, type RealtorSearchOptions, type RealtorSort, type RedditCommentRepliesOptions, type RedditFeedSort, RedditNamespace, type RedditPopularOptions, type RedditPostCommentsOptions, type RedditPostOptions, type RedditSearchOptions, type RedditSearchSuggestionsOptions, type RedditSort, type RedditSubredditOptions, type RedditSubredditPostsOptions, type RedditUserFeedOptions, type RedditUserOptions, type RedfinMarketOptions, RedfinNamespace, type RedfinPropertyOptions, type RedfinSearchOptions, type RightmoveAgentOptions, type RightmoveAgentsOptions, type RightmoveExclude, type RightmoveFurnishing, type RightmoveLetType, type RightmoveListingStatus, type RightmoveLocationsOptions, type RightmoveMustHave, RightmoveNamespace, type RightmovePropertyOptions, type RightmovePropertyType, type RightmoveRadius, type RightmoveSearchOptions, type RightmoveSoldOptions, type RightmoveSoldPropertyOptions, type RightmoveSoldPropertyType, type RightmoveSoldSort, type RightmoveSort, type RightmoveTenure, type SECCompanyOptions, type SECConceptOptions, type SECFactsOptions, type SECFilingsOptions, type SECLookupOptions, SECNamespace, type SECSearchOptions, Scavio, ScavioAPIError, type ScavioConfig, ScavioConnectionError, ScavioError, ScavioTimeoutError, type TargetCategoryOptions, TargetNamespace, type TargetProductOptions, type TargetReviewsOptions, type TargetSearchOptions, ThreadsNamespace, type ThreadsPostCommentsOptions, type ThreadsPostOptions, type ThreadsProfileOptions, type ThreadsSearchUsersOptions, type ThreadsUserPostsOptions, type ThreadsUserRepliesOptions, type TikTokCommentRepliesOptions, type TikTokHashtagOptions, type TikTokHashtagVideosOptions, TikTokNamespace, type TikTokProfileOptions, type TikTokSearchUsersOptions, type TikTokSearchVideosOptions, type TikTokShopCategoryProductsOptions, type TikTokShopListingRegion, TikTokShopNamespace, type TikTokShopProductOptions, type TikTokShopProductReviewsOptions, type TikTokShopRegion, type TikTokShopResolveOptions, type TikTokShopReviewSort, type TikTokShopSearchOptions, type TikTokShopShopProductsOptions, type TikTokShopSuggestionsOptions, type TikTokUserFollowersOptions, type TikTokUserFollowingsOptions, type TikTokUserPostsOptions, type TikTokVideoCommentsOptions, type TikTokVideoOptions, type TripadvisorLocationOptions, type TripadvisorLocationsOptions, TripadvisorNamespace, type TripadvisorReviewsOptions, type TripadvisorSearchOptions, type TrustpilotBusinessAddress, type TrustpilotBusinessOptions, type TrustpilotCategoriesOptions, type TrustpilotCategoryOptions, type TrustpilotCategorySort, TrustpilotNamespace, type TrustpilotReviewOptions, type TrustpilotReviewsDateRange, type TrustpilotReviewsOptions, type TrustpilotReviewsSort, type TrustpilotSearchOptions, type TrustpilotStars, type WalmartCategoryOptions, WalmartNamespace, type WalmartOffersOptions, type WalmartProductOptions, type WalmartReviewsOptions, type WalmartSearchOptions, type WalmartSellerOptions, type WalmartSellerProductsOptions, type WalmartStore, type WalmartStoresData, type WalmartStoresOptions, type WalmartStoresResponse, XNamespace, type XSearchOptions, type XTrendingOptions, type XTweetCommentsOptions, type XTweetOptions, type XTweetRetweetersOptions, type XUserFeedOptions, type XUserOptions, type YelpBusinessOptions, YelpNamespace, type YelpReviewsOptions, type YelpSearchOptions, type YouTubeChannelCommunityOptions, type YouTubeChannelOptions, type YouTubeChannelResolveOptions, type YouTubeChannelSearchOptions, type YouTubeChannelShortsOptions, type YouTubeChannelVideosOptions, type YouTubeCommentRepliesOptions, type YouTubeCommentsOptions, type YouTubeMetadataOptions, YouTubeNamespace, type YouTubeRelatedOptions, type YouTubeSearchOptions, type YouTubeShortsOptions, type YouTubeStreamsOptions, type YouTubeSuggestionsOptions, type YouTubeTranscriptOptions, type YouTubeVideoOptions, type ZillowAgentReviewsOptions, ZillowNamespace, type ZillowPropertyOptions, type ZillowSearchOptions };
|
|
5834
|
+
export { type AirbnbListingOptions, AirbnbNamespace, type AirbnbReviewsOptions, type AirbnbSearchOptions, AmazonNamespace, type AmazonOffersOptions, type AmazonProductOptions, type AmazonSearchOptions, type AppStoreAppOptions, AppStoreNamespace, type AppStoreReviewsOptions, type AppStoreSearchOptions, BadRequestError, type BookingHotelOptions, BookingNamespace, type BookingReviewsOptions, type BookingSearchOptions, CapterraNamespace, type CapterraProductOptions, type CapterraReviewsOptions, type CapterraSearchOptions, type CompaniesHouseCompanyOptions, type CompaniesHouseFilingHistoryOptions, CompaniesHouseNamespace, type CompaniesHouseOfficersOptions, type CompaniesHouseSearchOptions, type CostcoAutocompleteOptions, type CostcoAvailabilityOptions, type CostcoCategoriesOptions, type CostcoCategoryOptions, type CostcoClearanceOptions, type CostcoCountry, type CostcoCouponsOptions, type CostcoDealType, type CostcoDealsOptions, type CostcoGasOptions, type CostcoListingFilters, type CostcoNaCountry, CostcoNamespace, type CostcoPriceCode, type CostcoPricesOptions, type CostcoProductOptions, type CostcoReviewsOptions, type CostcoSearchOptions, type CostcoSortBy, type CostcoWarehousesOptions, DEFAULT_MAX_REQUESTS_PER_SECOND, EbayNamespace, type EbayProductOptions, type EbaySearchOptions, type EbaySellerOptions, type Extract, type ExtractBatchOptions, type ExtractCrawlOptions, type ExtractFormat, type ExtractJobCreatedResponse, type ExtractJobRequestOptions, type ExtractJobResult, type ExtractJobState, type ExtractJobStatusQuery, type ExtractJobStatusResponse, type ExtractJobSummary, type ExtractJobSummaryResponse, type ExtractMapLink, type ExtractMapOptions, type ExtractMapResponse, type ExtractMode, ExtractNamespace, type ExtractOptions, type ExtractSitemapMode, G2Namespace, type G2ProductOptions, type G2ReviewsOptions, type G2SearchOptions, type GlassdoorCompaniesOptions, type GlassdoorCompanyOptions, GlassdoorNamespace, type GlassdoorReviewsOptions, type GlassdoorSalariesOptions, type GoogleAdsAdvertisersOptions, type GoogleAdsCreativeOptions, GoogleAdsNamespace, type GoogleAdsSearchOptions, type GoogleAiModeOptions, type GoogleFlightsOptions, type GoogleHotelsDetailOptions, type GoogleHotelsOptions, type GoogleMapsPlaceOptions, type GoogleMapsReviewsOptions, type GoogleMapsSearchOptions, GoogleNamespace, type GoogleNewsOptions, type GooglePlayAppOptions, GooglePlayNamespace, type GooglePlayReviewsOptions, type GooglePlaySearchOptions, type GoogleSearchOptions, type GoogleShoppingOptions, type GoogleShoppingProductOptions, type GoogleShoppingStoresOptions, type GoogleTrendingOptions, type GoogleTrendsOptions, HomeDepotNamespace, type HomeDepotProductOptions, type HomeDepotReviewsOptions, type HomeDepotSearchOptions, type IndeedCompanyOptions, type IndeedCompanyReviewsOptions, type IndeedJobOptions, IndeedNamespace, type IndeedSearchOptions, type InstagramCommentRepliesOptions, type InstagramFollowOptions, InstagramNamespace, type InstagramPostCommentsOptions, type InstagramPostOptions, type InstagramProfileOptions, type InstagramSearchOptions, type InstagramStoriesOptions, type InstagramUserFeedOptions, InsufficientCreditsError, InvalidAPIKeyError, type KuaishouCommentRepliesOptions, KuaishouNamespace, type KuaishouProfileOptions, type KuaishouSearchLiveOptions, type KuaishouSearchOptions, type KuaishouSearchUsersOptions, type KuaishouSearchVideosOptions, type KuaishouTagFeedOptions, type KuaishouTrendingOptions, type KuaishouUserLiveOptions, type KuaishouUserPostsOptions, type KuaishouUserResolveOptions, type KuaishouVideoCommentsOptions, type KuaishouVideoOptions, type KuaishouVideosBatchOptions, type LinkedInCompanyOptions, type LinkedInCompanyPostsOptions, type LinkedInCompanyPostsRequest, type LinkedInCompanyRefOptions, type LinkedInJobOptions, LinkedInNamespace, type LinkedInPersonContactOptions, type LinkedInPersonOptions, type LinkedInPersonPostsOptions, type LinkedInPersonPostsRequest, type LinkedInPersonRefOptions, type LinkedInPostCommentsOptions, type LinkedInPostOptions, type LinkedInSearchJobsOptions, type LinkedInSearchPeopleOptions, type LinkedInSearchPostsOptions, MAX_REQUESTS_PER_SECOND, type MercadoLibreBestSellersCountry, type MercadoLibreBestSellersOptions, type MercadoLibreCondition, type MercadoLibreCountry, type MercadoLibreDiscount, MercadoLibreNamespace, type MercadoLibreProductOptions, type MercadoLibreQuestionsOptions, type MercadoLibreReviewsOptions, type MercadoLibreSearchOptions, type MercadoLibreSort, type MetaAdsAdOptions, type MetaAdsAdvertiserOptions, MetaAdsNamespace, type MetaAdsSearchOptions, MissingAPIKeyError, NotFoundError, RateLimitError, type RealtorAgentOptions, type RealtorAgentsOptions, type RealtorListingStatus, type RealtorLocationsOptions, type RealtorMarketOptions, RealtorNamespace, type RealtorPropertyOptions, type RealtorPropertyType, type RealtorSearchOptions, type RealtorSort, type RedditCommentRepliesOptions, type RedditCommentSearchSort, type RedditFeedSort, RedditNamespace, type RedditPopularOptions, type RedditPostCommentsOptions, type RedditPostOptions, type RedditSearchCommentsOptions, type RedditSearchOptions, type RedditSearchSubredditsOptions, type RedditSearchSuggestionsOptions, type RedditSort, type RedditSubredditOptions, type RedditSubredditPostsOptions, type RedditUserFeedOptions, type RedditUserOptions, type RedfinMarketOptions, RedfinNamespace, type RedfinPropertyOptions, type RedfinSearchOptions, type RightmoveAgentOptions, type RightmoveAgentsOptions, type RightmoveExclude, type RightmoveFurnishing, type RightmoveLetType, type RightmoveListingStatus, type RightmoveLocationsOptions, type RightmoveMustHave, RightmoveNamespace, type RightmovePropertyOptions, type RightmovePropertyType, type RightmoveRadius, type RightmoveSearchOptions, type RightmoveSoldOptions, type RightmoveSoldPropertyOptions, type RightmoveSoldPropertyType, type RightmoveSoldSort, type RightmoveSort, type RightmoveTenure, type SECCompanyOptions, type SECConceptOptions, type SECFactsOptions, type SECFilingsOptions, type SECLookupOptions, SECNamespace, type SECSearchOptions, Scavio, ScavioAPIError, type ScavioConfig, ScavioConnectionError, ScavioError, ScavioJobTimeoutError, ScavioTimeoutError, type TargetCategoryOptions, TargetNamespace, type TargetProductOptions, type TargetReviewsOptions, type TargetSearchOptions, ThreadsNamespace, type ThreadsPostCommentsOptions, type ThreadsPostOptions, type ThreadsProfileOptions, type ThreadsSearchUsersOptions, type ThreadsUserPostsOptions, type ThreadsUserRepliesOptions, type TikTokCommentRepliesOptions, type TikTokHashtagOptions, type TikTokHashtagVideosOptions, type TikTokMusicChartOptions, type TikTokMusicOptions, type TikTokMusicVideosOptions, TikTokNamespace, type TikTokPlaylistVideosOptions, type TikTokProfileOptions, type TikTokSearchMusicOptions, type TikTokSearchSuggestionsOptions, type TikTokSearchUsersOptions, type TikTokSearchVideosOptions, type TikTokShopCategoryProductsOptions, type TikTokShopListingRegion, TikTokShopNamespace, type TikTokShopProductOptions, type TikTokShopProductReviewsOptions, type TikTokShopRegion, type TikTokShopResolveOptions, type TikTokShopReviewSort, type TikTokShopSearchOptions, type TikTokShopShopProductsOptions, type TikTokShopSuggestionsOptions, type TikTokTrendingVideosOptions, type TikTokUserFollowersOptions, type TikTokUserFollowingsOptions, type TikTokUserPlaylistsOptions, type TikTokUserPostsOptions, type TikTokUserSimilarOptions, type TikTokUsernameOptions, type TikTokVideoCommentsOptions, type TikTokVideoOptions, type TikTokVideoTranscriptOptions, type TripadvisorLocationOptions, type TripadvisorLocationsOptions, TripadvisorNamespace, type TripadvisorReviewsOptions, type TripadvisorSearchOptions, type TrustpilotBusinessAddress, type TrustpilotBusinessOptions, type TrustpilotCategoriesOptions, type TrustpilotCategoryOptions, type TrustpilotCategorySort, TrustpilotNamespace, type TrustpilotReviewOptions, type TrustpilotReviewsDateRange, type TrustpilotReviewsOptions, type TrustpilotReviewsSort, type TrustpilotSearchOptions, type TrustpilotStars, type WalmartCategoryOptions, WalmartNamespace, type WalmartOffersOptions, type WalmartProductOptions, type WalmartReviewsOptions, type WalmartSearchOptions, type WalmartSellerOptions, type WalmartSellerProductsOptions, type WalmartStore, type WalmartStoresData, type WalmartStoresOptions, type WalmartStoresResponse, type XCommunityOptions, type XCommunityTweetsOptions, XNamespace, type XSearchCommunitiesOptions, type XSearchOptions, type XTrendingOptions, type XTweetCommentsOptions, type XTweetOptions, type XTweetRetweetersOptions, type XUserFeedOptions, type XUserOptions, type YelpBusinessOptions, YelpNamespace, type YelpReviewsOptions, type YelpSearchOptions, type YouTubeChannelCommunityOptions, type YouTubeChannelOptions, type YouTubeChannelResolveOptions, type YouTubeChannelSearchOptions, type YouTubeChannelShortsOptions, type YouTubeChannelVideosOptions, type YouTubeCommentRepliesOptions, type YouTubeCommentsOptions, type YouTubeCommunityPostCommentsOptions, type YouTubeCommunityPostOptions, type YouTubeMetadataOptions, YouTubeNamespace, type YouTubeRelatedOptions, type YouTubeSearchOptions, type YouTubeShortsOptions, type YouTubeStreamsOptions, type YouTubeSuggestionsOptions, type YouTubeTranscriptOptions, type YouTubeVideoOptions, type ZillowAgentReviewsOptions, ZillowNamespace, type ZillowPropertyOptions, type ZillowSearchOptions, verifyWebhook };
|