YTStream - Download YouTube Videos

FREEMIUM
By ytjar | Updated a month ago | Tools
Popularity

9.9 / 10

Latency

517ms

Service Level

100%

Health Check

100%

Back to All Discussions

Download Files via URL

Rapid account: J Seeger
JSeeger
a year ago

Hi,

Iā€™m trying to download the video file directly from the URL using client-side javascript. My current method is using fetch() to retrieve the video file then download it. However Iā€™m getting a CORS error, which is not enabling me to allow for downloads.

Do you know how I can work around this or why this might be happening? Could this only happen for specific types of videos?

Thanks so much for the incredible API!

Rapid account: Ytjar
ytjar Commented a year ago

Please share the url facing cors issue.

Join in the discussion - add comment below:

Login / Signup to post new comments