🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

yarn-clip-scraper

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yarn-clip-scraper

https://yarn.co/ search clips and download clips

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

Yarn Logo

Yarn Clip Scraper

Status GitHub Issues GitHub Pull Requests License

The unofficial scrap for yarn.co

This unofficial scraper code for yarn.co is by Omindu Anjana. The video clips given here belongs to this website https://yarn.co/. I am Full Stack Software Engineering (U.G)

🏁 Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Installing

yarn add yarn-clip-scraper

or

npm i yarn-clip-scraper

🎈 Usage

const Yarn = require('yarn-clip-scraper');

const api = new Yarn()

Search Clips

const results = await api.search('how are you');
console.log(news);
{
  code: 200,
  code_creator: {
    name: 'Omindu_Dissanayaka',
    github: '@OmiduAnjane',
    group: 'Nex Dev Group'
  },
  results: [
    {
      title: 'Ozark (2017) - S03E05 It Came from MichoacĂĄn',
      transcript: 'How are you?',
      pageLink: 'https://yarn.co/yarn-clip/a558260c-8cbd-49ca-9228-787dcdb10d83'
    },
    {
      title: 'Ozark (2017) - S04E05 Ellie',
      transcript: 'How are you?',
      pageLink: 'https://yarn.co/yarn-clip/f8dd8b26-c10e-4d40-b026-ebdbc2bf407d'
    },
    {
      title: 'Pam & Tommy (2022) - S01E02 I Love You, Tommy',
      transcript: 'How are you?',
      pageLink: 'https://yarn.co/yarn-clip/a56967b3-ca66-4d99-843a-0bc8501bef32'
    },
    {
      title: "That '70s Show (1998) - S08E08 Good Company",
      transcript: 'How are you?',
      pageLink: 'https://yarn.co/yarn-clip/3591854d-3189-4b4d-9bfb-89021f186b48'
    },
    {
      title: "Grey's Anatomy (2005) - S03E04 What I Am",
      transcript: 'How are you?',
      pageLink: 'https://yarn.co/yarn-clip/05899f4a-8c74-462e-bc03-df33f571d2cd'
    },
    {
      title: "Grey's Anatomy (2005) - S03E07 Where the Boys Are",
      transcript: 'How are you?',
      pageLink: 'https://yarn.co/yarn-clip/fe0a7282-f5df-475e-a3b0-ecb44a789284'
    },
    {
      title: "Grey's Anatomy (2005) - S05E08 These Ties That Bind",
      transcript: 'How are you?',
      pageLink: 'https://yarn.co/yarn-clip/b36dfa22-3191-4f81-8a2d-6e2b5440d584'
    },
    {
      title: "Grey's Anatomy (2005) - S06E01 Good Mourning",
      transcript: 'how are you?',
      pageLink: 'https://yarn.co/yarn-clip/3e6e965c-1504-40c6-9415-4d4c25f23468'
    },
    {
      title: "Grey's Anatomy (2005) - S07E19 It's a Long Way Back",
      transcript: 'How are you?',
      pageLink: 'https://yarn.co/yarn-clip/62aa9206-6725-4bbd-86e6-b8e893b56e9a'
    },
    {
      title: "Grey's Anatomy (2005) - S08E12 Hope for the Hopeless",
      transcript: 'How are you?',
      pageLink: 'https://yarn.co/yarn-clip/c8e920d0-9528-4cca-9a0d-f4af63e58636'
    },
    {
      title: 'The Love Boat (1977) - S01E06 Isaac the Groupie/Mr. Popularity/Help! Murder!',
      transcript: 'How are you?',
      pageLink: 'https://yarn.co/yarn-clip/2d368bb0-20ea-4188-80a0-3aa896aa6685'
    },
    {
      title: 'Runaways (2017) - S03E09 The Broken Circle',
      transcript: 'How are you?',
      pageLink: 'https://yarn.co/yarn-clip/751731e3-75ae-497e-b939-2ef8226a4d2a'
    },
    {
      title: 'Succession (2018) - S01E03 Lifeboats',
      transcript: 'How are you?',
      pageLink: 'https://yarn.co/yarn-clip/31e0adfd-2d43-43c8-9706-3d833ba6b63a'
    },
    {
      title: 'Succession (2018) - S01E05 I Went to Market',
      transcript: 'How are you?',
      pageLink: 'https://yarn.co/yarn-clip/a1c4a7b9-e5e4-4db3-9cbb-440ba964770c'
    },
    {
      title: 'Star Trek: The Next Generation (1987) - S03E05 The Bonding',
      transcript: 'How are you?',
      pageLink: 'https://yarn.co/yarn-clip/46c9e5d7-9a8a-44f2-8690-bc3c17eb522c'
    },
    {
      title: 'Star Trek: The Next Generation (1987) - S03E20 Tin Man',
      transcript: 'how are you?',
      pageLink: 'https://yarn.co/yarn-clip/b98d1425-8267-4827-aa2a-784dcc64d30d'
    },
    {
      title: 'Doctor Who (2005) - S05E06 The Vampires of Venice',
      transcript: 'How are you?',
      pageLink: 'https://yarn.co/yarn-clip/63da1c71-20f4-4b0c-9d89-453e1e6b2c5d'
    },
    {
      title: 'Doctor Who (2005) - S06E12 Closing Time',
      transcript: 'How are you?',
      pageLink: 'https://yarn.co/yarn-clip/032ad80c-8a92-4178-9cc9-0f3c9a1efe01'
    },
    {
      title: 'Firefly Lane (2021) - S02E01 Wish You Were Here',
      transcript: 'How are you?',
      pageLink: 'https://yarn.co/yarn-clip/4f3c02a7-4e01-4373-989e-3701edd5da24'
    },
    {
      title: 'Firefly Lane (2021) - S02E01 Wish You Were Here',
      transcript: 'How are you?',
      pageLink: 'https://yarn.co/yarn-clip/1e1f5f9b-f538-49e9-828a-bc9def3b4b28'
    }
  ]
}

Download Clip

const results = await api.dl('https://yarn.co/yarn-clip/a1c4a7b9-e5e4-4db3-9cbb-440ba964770c');
console.log(results);
{
  code: 200,
  code_creator: {
    name: 'Omindu_Dissanayaka',
    github: '@OmiduAnjane',
    group: 'Nex Dev Group'
  },
  results: {
    Title: 'How are you?',
    Description: 'How are you?',
    Video: 'https://y.yarn.co/a1c4a7b9-e5e4-4db3-9cbb-440ba964770c.mp4'
  }
}

✍️ Authors

  • @OmiduAnjane - yarn.co Unofficial scraped project author

Keywords

yarn-clip

FAQs

Package last updated on 30 Nov 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts