function handleFetchRequest(url, requestOptions) {
        const url_obj = new URL(url);
        const newGoogleVideoUrl = unlockGoogleVideo(url_obj);
        if (newGoogleVideoUrl) {
            // Exclude credentials from Fetch Request
            if (requestOptions.credentials) {
                requestOptions.credentials = 'omit';
            }
            return newGoogleVideoUrl.toString();
        }

        if (url_obj.pathname.indexOf('/youtubei/') === 0 && isObject(requestOptions.headers)) {
            // Store auth headers in authStorage for further usage.
            for (let headerName in requestOptions.headers) {
                if (Config.GOOGLE_AUTH_HEADER_NAMES.includes(headerName)) {
                    set(headerName, requestOptions.headers[headerName]);
                }
            }
        }

        if (Config.SKIP_CONTENT_WARNINGS && ['/youtubei/v1/player', '/youtubei/v1/next'].includes(url_obj.pathname)) {
            // Add content check flags to player and next request (this will skip content warnings)
            requestOptions.body = setContentCheckOk(requestOptions.body);
        }
    }
Handles Fetch requests and
- Rewrite Googlevideo URLs to Proxy URLs (if necessary)
- Store auth headers for the authentication of further unlock requests.
- Add "content check ok" flags to request bodys