@scrapecreators/cli 1.0.4 → 1.0.6

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.
Files changed (2) hide show
  1. package/api-config/apis.js +65 -0
  2. package/package.json +1 -1
@@ -2624,6 +2624,32 @@ export const apis = [
2624
2624
  ],
2625
2625
  },
2626
2626
  },
2627
+ {
2628
+ name: "Post Transcript",
2629
+ method: "GET",
2630
+ description: "Get the transcript from a LinkedIn post video when LinkedIn exposes one.",
2631
+ fullDescription:
2632
+ "Fetches the transcript from a LinkedIn post video when LinkedIn exposes one publicly. Returns null with transcriptNotAvailable when the post has no transcript, and only deducts credits when a transcript is returned.",
2633
+ path: "/v1/linkedin/post/transcript",
2634
+ params: [
2635
+ {
2636
+ name: "url",
2637
+ type: "string",
2638
+ description: "The URL of the LinkedIn post to get the transcript from",
2639
+ required: true,
2640
+ placeholder:
2641
+ "https://www.linkedin.com/posts/gemini-35-flash-is-a-step-forward-for-google-ugcPost-7465082215316525056-MHBd/",
2642
+ },
2643
+ ],
2644
+ sampleResponse: {
2645
+ success: true,
2646
+ credits_remaining: 100,
2647
+ url: "https://www.linkedin.com/posts/artificial-analysis_gemini-35-flash-is-a-step-forward-for-google-activity-7465082408409870337-4Pm-",
2648
+ transcript:
2649
+ "Hey, my name is Declan Jackson. I am a member of technical staff here at Artificial Analysis and I'm going to do a quick chat through the recent release of Gemini 3.5 Flash...",
2650
+ transcriptNotAvailable: false,
2651
+ },
2652
+ },
2627
2653
  ],
2628
2654
  },
2629
2655
  {
@@ -9770,6 +9796,45 @@ export const apis = [
9770
9796
  // },
9771
9797
  // ],
9772
9798
  // },
9799
+ {
9800
+ name: "Post Transcript",
9801
+ method: "GET",
9802
+ description: "Get the transcript from a Reddit video post",
9803
+ fullDescription:
9804
+ "Gets the transcript from a Reddit video post or direct v.redd.it URL when Reddit exposes a VTT caption file. Returns the raw WebVTT in raw_vtt plus a parsed plain-text transcript. If Reddit does not expose captions for the video, transcript is null and transcriptNotAvailable is true.",
9805
+ path: "/v1/reddit/post/transcript",
9806
+ params: [
9807
+ {
9808
+ name: "url",
9809
+ type: "string",
9810
+ required: true,
9811
+ description: "Reddit post URL or direct v.redd.it video URL",
9812
+ placeholder:
9813
+ "https://www.reddit.com/r/youseeingthisshit/comments/1oiu9xm/football_nostalgiasaints_punter_head_coach_cant/",
9814
+ },
9815
+ {
9816
+ name: "language",
9817
+ type: "string",
9818
+ required: false,
9819
+ description: "2 letter language code. Defaults to en.",
9820
+ placeholder: "en",
9821
+ },
9822
+ ],
9823
+ sampleResponse: {
9824
+ success: true,
9825
+ credits_remaining: 100,
9826
+ url: "https://www.reddit.com/r/youseeingthisshit/comments/1oiu9xm/football_nostalgiasaints_punter_head_coach_cant/",
9827
+ post_id: "1oiu9xm",
9828
+ video_id: "eflpgc6r0zxf1",
9829
+ caption_url: "https://v.redd.it/eflpgc6r0zxf1/wh_ben_en.vtt",
9830
+ language: "en",
9831
+ raw_vtt:
9832
+ "WEBVTT\n\n00:00.000 --> 00:00.300\n<u>stop</u> on third down and now Barnhart I\nhanging\n\n00:00.300 --> 00:00.560\nstop <u>on</u> third down and now Barnhart I\nhanging",
9833
+ transcript:
9834
+ "stop on third down and now Barnhart I hanging spiraling punts touch back Barnhart could not pull it up short of the end zone...",
9835
+ transcriptNotAvailable: false,
9836
+ },
9837
+ },
9773
9838
  {
9774
9839
  name: "Search",
9775
9840
  method: "GET",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scrapecreators/cli",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
4
4
  "description": "CLI for the ScrapeCreators API — scrape 27+ social media platforms from the terminal",
5
5
  "type": "module",
6
6
  "bin": {