How can I use multiple random YouTube v3 API keys in javascript

You should try to put the random number variable within the search function, so each time the search() function is being called, random API key is being picked: Through PHP $apikey=array(“AIzaSyAzWRwUZZDyy1QmwlmSKzxGCELJ2dYnDEMU”,”AIzaSyBGXPpdCC_sivaZAZ1I7Zq_weIAgtQuo2kc”,”AIzaSyBINY2ziseK60nN23-JU-CWlMmLhoGeN_U”,”AIzaSyAVY51pLSPxU36IA1yvy4tqnCnKznzT6LCE”,”AIzaSyAz1fcvnkMbN2CfZIF_zlnbg8R20rX4V1mM”,”AIzaSyBQBUd3N6l-cbiP6NhQpZTT5Hzl1XadgaVA”,”AIzaSyBXR9w_Xj1549fkG4dWfJgPl2ag5tHlO-QU”,”AIzaSyC9fpBSnlyRs_jGIKarNO_ZkF4nWtLza1I”,”AIzaSyDP3cG_uopwEx4c_aSbxPficMPoYCqlMb8c”,”AIzaSyBdjg9oobvF9WKRKQVgk2BSCrmHOmPeWGUg”,”AIzaSyAzUvDNY1UaG3TvuYLMMJKJctTt5i1DIKOY”,”AIzaSyAez84wR3m98sxPV0awy1OtZ6Uupztoa58g”,”AIzaSyC1lkVvOl2VJiZ5A8yqtNPkieZtOnawRzk”,”AIzaSyD8UMVBIi2CjD_GBBuw3ObIPp01Jc4QkYVQ”,”AIzaSyBqr1kU4VljyFKQCIm6PRdbbFjEc8YkrYL4″,”AIzaSyDvTtU9zkxYmWYXqmCA4fvZmpFKgZzv00CtU”,”AIzaSyDvRddOkZ-mwPgL8TWEGXskFRxYa4AiMZW0″,”AIzaSyDF4ihs5IBlGwO-0ylq-R89DY_H23FHN7-g”,”AIzaSyBoVmJYIq4BkprkBLuRm16AJqebSFzhOLM”,”AIzaSyBKTLVcntTm8SkaIzNrGZgqZXaWWfdrsoY”,”AIzaSyDRmayGRAcKl3wXRndr83LYFMpMN-MQJ8xA”,”AIzaSyBLWwqDfcs-EZa6Uxs7kdxpf2PzSoMCNuxs”,”AIzaSyABgEOnj4LR-QVnqFDnHsWia8YWcT8weVMBo”,”AIzaSyBCsLYaJpxDY3Uota_RWazn4KgetUG6tfKQk”,”AIzaSyAo0CxyCKteqS8KEl_4OW6PJPGweS9PDTK4″); $random_key = $apikey[array_rand($apikey)]; $gdata = file_get_contents(‘https://www.googleapis.com/youtube/v3/search?part=snippet&q=’ . urlencode(str_replace(“-“, “+”, $q)) . ‘&maxResults=’.$limit.’&key=’ . $random_key);

How to install varnish with Apache with SSL termination

Varnish Cache is a web application accelerator, often known as a caching HTTP reverse proxy. Vanish is usually installed in front of a web server such as Apache or Nginx and is configured to cache the contents of these servers. Varnish Cache is really, really fast. It typically speeds up delivery with a factor of 300 – …

How to install varnish with Apache with SSL termination Read More »

CPanel port 2087 not working

check var/log/messages and check for error and resolve all errors check cpsrvd status cd script ./restartsrv_cpsrvd status systemctl stop GBLSWS.service systemctl disable GBLSWS.service disable cphulk also Steps to Disable cPhulk from Server backend (Command Line) Do the below steps to disable cPhulk bruteforce protection from server 1. Log into server via SSH as ‘root’ 2. …

CPanel port 2087 not working Read More »

how to update DirectAdmin control panel

check version using /usr/local/directadmin/directadmin c | grep -i ‘version=’ cd /usr/local/directadminwget –no-check-certificate -O update.tar.gz ‘https://www.directadmin.com/cgi-bin/daupdate?redirect=ok&uid=123&lid=1234‘tar xvzf update.tar.gz./directadmin pcd scripts./update.shservice directadmin restartWhere 123 and 1234 are your Client ID and License ID, respectively.  Note that if you are running FreeBSD, you might need to add a \ before the ? character in the wget line, and use /usr/local/etc/rc.d/directadmin restart.  If …

how to update DirectAdmin control panel Read More »

How to get Google Adsense approval

18+ (check from personal info) Supported language 3.Unique and plagiarism free content Three Big Pages: the Privacy Policy page, the About Us page, and the Contact Us page. 5.content must comply with google policy Disclaimer Page: 15+ post & at least one month old Logo favicon discalimer or terms & conditions

Open chat