youtube-channel.mdx 476 B

12345678910111213141516171819202122
  1. ---
  2. title: '📽️ Youtube Channel'
  3. ---
  4. ## Setup
  5. Make sure you have all the required packages installed before using this data type. You can install them by running the following command in your terminal.
  6. ```bash
  7. pip install -U "embedchain[youtube]"
  8. ```
  9. ## Usage
  10. To add all the videos from a youtube channel to your app, use the data_type as `youtube_channel`.
  11. ```python
  12. from embedchain import App
  13. app = App()
  14. app.add("@channel_name", data_type="youtube_channel")
  15. ```