youtube-channel.mdx 483 B

1234567891011121314151617181920
  1. ---
  2. title: '📽️ Youtube Channel'
  3. ---
  4. To add all the videos from a youtube channel to your app, use the data_type as `youtube_channel`.
  5. <Note>
  6. 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.
  7. ```bash
  8. pip install -u "embedchain[youtube]"
  9. ```
  10. </Note>
  11. ```python
  12. from embedchain import Pipeline as App
  13. app = App()
  14. app.add("@channel_name", data_type="youtube_channel")
  15. ```