MyShell
  • About MyShell
    • What is MyShell
    • MyShell in a Nutshell
    • Quickstart
  • Explore AI Agents
    • Image Generation
    • Video Generation
    • Meme Generation
    • Role-Playing Game
    • Character
    • Utility
  • Create AI Agents
    • Classic Mode
      • Enhanced Prompt
      • Knowledge Base
      • Telegram Integration
    • Pro Config Mode
      • Core Concepts
      • Tutorial
        • Tutorial Structure
        • Hello World with Pro Config
        • Building Workflow
        • Transitions
        • Expressions and Variables
        • Integration with Any Widget
        • An Advanced Example
      • Basic
        • Common
        • Atomic State
        • Transition
        • Automata
        • Modules
      • Advanced
        • Cron Pusher
        • Neutral Language To SD Prompt
        • Advanced Input Validation
        • Advanced Memory Manager in Prompt Widget
      • Tools
        • AutoConfig Agent
        • Cache Mode
        • Knowledge Base Agent
        • Crawler Widget
      • Example
        • Homeless With You
        • Random Routing
        • Function Calling
      • API Reference
        • Atomic State
        • Transition
        • Automata
        • Context
        • Module
          • AnyWidget Module
            • Prompt Widget
            • LLM Widget
            • TTS Widget
            • Code Runner Widget
            • Melo TTS
            • Age Transformation
            • ChatImg
            • GIF Generation
            • Music Generation
          • LLM Module
          • LLM Function Module
          • TTS Module
          • Google Search Module
        • Widgets
          • Bark TTS
          • Champ
          • CoinGecko
          • ControlNet with Civitai
          • Crawler
          • Crypto News
          • Data Visualizer
          • Email Sender
          • Google Flight Search
          • Google Hotel Search
          • Google Image Search
          • Google Map Search
          • Google News Search
          • Google Scholar Search
          • Google Search
          • GroundedSAM
          • Image Text Fuser
          • Information Extractor - OpenAI Schema Generator
          • Information Extractor
          • Instagram Search
          • JSON to Table
          • LinkedIn
          • MS Word to Markdown
          • Markdown to MS Word
          • Markdown to PDF
          • Mindmap Generator
          • Notion Database
          • OCR
          • Pdf to Markdown
          • RMBG
          • Stabel-Video-Diffusion
          • Stable Diffusion Inpaint
          • Stable Diffusion Recommend
          • Stable Diffusion Transform
          • Stable Diffusion Upscale
          • Stable Diffusion with 6 fixed category
          • Stable Diffusion with Civitai
          • Storydiffusion
          • Suno Lyrics Generator
          • Suno Music Generator
          • Table to Markdown
          • TripAdvisor
          • Twitter Search
          • UDOP: Document Question Answering
          • Weather forecasting
          • Whisper large-v3
          • Wikipedia
          • Wolfram Alpha Search
          • Yelp Search
          • YouTube Downloader
          • YouTube Transcriber
          • Youtube Search
      • FAQs
      • Changelog
    • ShellAgent Mode
      • Download and Installation
      • App Builder
      • Workflow
      • Build Custom Widget
      • Publish to MyShell
      • Customized Pricing For Your Agent
      • Example
        • Child Book X Agent w/ DeepSeek
        • Kids Book NFT AI Agent w/ BNB Chain
        • DeFAI Agent w/ BNB Chain
  • Shell Launchpad
    • How to Launch a Token
    • Trade Agent Tokens
  • Tokenomics
    • $SHELL Basics
    • $SHELL Token Utility
    • How to Obtain $SHELL
    • Roadmap
  • Open-source AI Framework/SDK
    • ShellAgent
    • OpenVoice
    • MeloTTS
    • JetMoE
    • AIlice
  • Links
Powered by GitBook
On this page
  • Try it in the Widget Center
  • Usage
  1. Create AI Agents
  2. Pro Config Mode
  3. API Reference
  4. Widgets

Youtube Search

Youtube Search. Given a search query, return the searched youtube video information

PreviousYouTube TranscriberNextFAQs

Last updated 1 year ago

Try it in the Widget Center

Click this to try this widget and copy the Pro Config template.

Usage

The search results contain the Youtube link as well as some metadata like video length, video title, etc.

Input Parameters

Name
Type
Description
Default
Required

query

string

The search query string that specifies what the search should be about.

num_results

integer

The number of search results to return.

10

Output Parameters

Name
Type
Description
File Type

search_results

array

The result of google search, containing the links, titles, and other useful information

Output Example

{
  "search_results": [
    {
      "description": "The fragrant licorice, the sweet flowers, the picturesque snowstorms, the falling glaze... For the girl descended from qilin, this is all ...",
      "length": "2:04",
      "link": "https://www.youtube.com/watch?v=FHRXP8ceeBU",
      "thumbnail": {
        "rich": "https://i.ytimg.com/an_webp/FHRXP8ceeBU/mqdefault_6s.webp?du=3000\u0026sqp=CL_bnbEG\u0026rs=AOn4CLAx4IscemmtJCCVTwUygJiYINJZYg",
        "static": "https://i.ytimg.com/vi/FHRXP8ceeBU/hq720.jpg?sqp=-oaymwEcCOgCEMoBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==\u0026rs=AOn4CLApF4T3bUyjg8ifKE-fCmyFRDaN6g"
      },
      "title": "Character Demo - \"Ganyu: Radiant Dreams\" | Genshin Impact"
    },
    {
      "description": "Light-footed, she paces the streets and alleys. She has some secrets regarding Liyue Harbor to share with you at night before the ...",
      "length": "1:06",
      "link": "https://www.youtube.com/watch?v=ASO6t2zp_UI",
      "thumbnail": {
        "rich": "https://i.ytimg.com/an_webp/ASO6t2zp_UI/mqdefault_6s.webp?du=3000\u0026sqp=CKKgnbEG\u0026rs=AOn4CLDDE7vsYiyiMrWpiBSCmTF2-uswKw",
        "static": "https://i.ytimg.com/vi/ASO6t2zp_UI/hq720.jpg?sqp=-oaymwEcCOgCEMoBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==\u0026rs=AOn4CLBx4-Q6sS4xDvkAhaU2Yq5gBtqyeg"
      },
      "title": "Character Teaser - \"Ganyu: A Night in Liyue Harbor\" | Genshin Impact"
    },
    {
      "description": "#GenshinImpact #HoYoverse #CharacterTeaser #Xianyun #DiscernmentandIngenuity #Ganyu ↓ Follow us for the latest news ...",
      "length": "2:11",
      "link": "https://www.youtube.com/watch?v=O_7r93u9mWs",
      "thumbnail": {
        "rich": "https://i.ytimg.com/an_webp/O_7r93u9mWs/mqdefault_6s.webp?du=3000\u0026sqp=CKG6nbEG\u0026rs=AOn4CLDJMmFd04KBYDa6y9o0cwaIVWxJKQ",
        "static": "https://i.ytimg.com/vi/O_7r93u9mWs/hq720.jpg?sqp=-oaymwEcCOgCEMoBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==\u0026rs=AOn4CLA5Ef0t1BXLFxiCtwLHyi3aX2TwJw"
      },
      "title": "Character Teaser - \"Xianyun: Discernment and Ingenuity\" | Genshin Impact"
    },
    {
      "description": "\"My job is to honor my contract with Rex Lapis by looking out for the interests of all living things in Liyue.\" Download FREE: ...",
      "length": "5:31",
      "link": "https://www.youtube.com/watch?v=tsPtGG9pFfg",
      "thumbnail": {
        "rich": "https://i.ytimg.com/an_webp/tsPtGG9pFfg/mqdefault_6s.webp?du=3000\u0026sqp=CIjUnbEG\u0026rs=AOn4CLDJ4dHXQcP9XZb39RZ6scLEWqbWJA",
        "static": "https://i.ytimg.com/vi/tsPtGG9pFfg/hq720.jpg?sqp=-oaymwEcCOgCEMoBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==\u0026rs=AOn4CLAyCzjVTrFcCn15GfsRieMR4TfgcA"
      },
      "title": "Collected Miscellany - \"Ganyu: Ambling Amidst Karst Peaks\" | Genshin Impact"
    },
    {
      "description": "I remixed Qilin's Prance a PV theme song of Ganyu one of the characters of Genshin as Uplifting Trance. In addition to the theme ...",
      "length": "8:37",
      "link": "https://www.youtube.com/watch?v=H_NvlHOpI9k",
      "thumbnail": {
        "rich": "https://i.ytimg.com/an_webp/H_NvlHOpI9k/mqdefault_6s.webp?du=3000\u0026sqp=CI2lnbEG\u0026rs=AOn4CLALMrz6olTB4jWyZIA9wcAPgOzjsQ",
        "static": "https://i.ytimg.com/vi/H_NvlHOpI9k/hq720.jpg?sqp=-oaymwEcCOgCEMoBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==\u0026rs=AOn4CLB146cnzOIjHo0xm-zLSP7XJ98xZA"
      },
      "title": "【Genshin Impact】 Ganyu PV Theme 「Qilin's Prance」 Uplifting Trance Remix"
    }
  ]
}
url