Benjamin-Loison / YouTube-operational-API

YouTube operational API works when YouTube Data API v3 fails.
378 stars 46 forks source link

Can web-scrape YouTube UI directly from the web-browser? #292

Closed Benjamin-Loison closed 2 months ago

Benjamin-Loison commented 2 months ago

Related to #138.

Can we web-scrape similarly YouTube UI?

https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/open

https://lemnoslife.com/cors_youtube_ui.html

xhttp.open("GET", "https://www.youtube.com/@WHO", true);

results in:

Status 302 Response body is not available to scripts (Reason: CORS Missing Allow Origin)