algolia / youtube-captions-scraper

Fetch youtube user submitted or fallback to auto-generated captions
249 stars 67 forks source link

Cors Issue #10

Closed aliabbasmalik8 closed 4 years ago

aliabbasmalik8 commented 4 years ago

Access to XMLHttpRequest at 'https://www.youtube.com/get_video_info?video_id=c6t3bW7kx6E' from origin '{domain}' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

Haroenv commented 4 years ago

This script is meant to run in node, not in the browser, YouTube indeed doesn't allow any origins