Forums

API Whitelist Problem

Im trying to use Youtube-dl API and i'm getting this error message:

youtube_dl.utils.DownloadError: ERROR: Unable to download API page: <urlopen error Tunnel connection failed: 403 Forbidden> (caused by URLError(OSError('Tunnel connection failed: 403 Forbidden')))

The error is about this dependence: https://github.com/ytdl-org/youtube-dl

We can only whitelist sites with an official public API, and then we'd need to see the API documentation. Additionally, www.youtube.com can't be whitelisted, as unfortunately then people use our site to run spam bots that try to boost the views for videos by playing them from code.