Scraping YT from Convex
The issue is with wherever the server (convex actions) is deployed, Created a new api endpoint in next.js app with same code and it worked.
Additional Details: Calling youtube.com/videos... with
fetch
in convex backend returns status code 400 and statusText 'Bad Request'.2 Replies
I wonder whether YT is blocking the request from a cloud IP (we're running on AWS).
You can try a proxy network like www.brightdata.com to see if it helps