Youtube
Upload all of a channel’s videos
For scraping youtube videos, we take videos that have captions only. We then break it down to the timestamp so that when a user clicks on a source, they know exactly which part of the video it pulled it from.
How do I add files from Youtube?
Step 1: Go to the Youtube Tab in Libraria
-
Go to the Knowledge Base of the Library you want to add a PDF to.
-
Click
Add Knowledge
button.
![Add Knowledge](https://mintlify.s3-us-west-1.amazonaws.com/bogpad/images/adding-documents/pdfs/add-docs-2.png)
- Select Scrape with links.
![Scrape with links](https://mintlify.s3-us-west-1.amazonaws.com/bogpad/images/adding-documents/knowledge/scrape-links.png)
- Select Youtube from the tabs that are in the link section.
![Youtube tab](https://mintlify.s3-us-west-1.amazonaws.com/bogpad/images/adding-documents/youtube/add-yt-1.png)
Step 2: Copy and Paste Youtube URL
-
Copy the URL link of the channel or Youtube video you want to add. The Youtube videos must have captions in order to be scraped.
-
Paste the URL link in the field. Click Add more if you want to add more URLs.
You can either paste your Youtube video URL or Youtube channel URL.
- Youtube Video URL
![Youtube URL](https://mintlify.s3-us-west-1.amazonaws.com/bogpad/images/adding-documents/youtube/vid-1.png)
- Youtube Channel URL
![Channel URL](https://mintlify.s3-us-west-1.amazonaws.com/bogpad/images/adding-documents/youtube/channel-1.png)
Step 3: Check Files and Submit
- Click on
Submit
. Once submitted, a window will appear showing how much credits you will use to scrape and the files that will be added to your knowledge base.
![Youtube URL](https://mintlify.s3-us-west-1.amazonaws.com/bogpad/images/adding-documents/youtube/add-yt-2.png)
-
Click on the
Submit
button in the window to confirm the scraping and add it to your library. -
You can check the output of the scraping by viewing your Library.
![Youtube URL](https://mintlify.s3-us-west-1.amazonaws.com/bogpad/images/adding-documents/youtube/add-yt-3.png)
Output of Youtube Video Scraping
Selecting Videos to Scrape in a Channel via Dates
- Open the
Advanced
accordion.
![Advanced channel](https://mintlify.s3-us-west-1.amazonaws.com/bogpad/images/adding-documents/youtube/channel-2.png)
- Input a date in the field to select the videos according to the date it was uploaded. This will scrape videos that are uploaded in the channel after the date you inputted.
![Date field](https://mintlify.s3-us-west-1.amazonaws.com/bogpad/images/adding-documents/youtube/channel-3.png)