Originally Posted by chiman
Is Youtube blocking IP addresses only for temporary time limit or forever? Because now my server is back to normal.
In my experience, YouTube only blocks/bans your IP for a finite period of time. The amount of time will vary -- generally, anywhere from a few minutes to a few days.
If you are frequently getting blocked by YouTube (and if
that is indeed what is happening here), then you may want to consider rotating IPs/proxies regularly. You can change the outgoing IP address via CURLOPT_INTERFACE or leverage a proxy server via CURLOPT_PROXY.
In addition, please see these posts:
Edit: You can also try obtaining/purchasing extra IPs from your web hosting provider as an alternative to using a dedicated proxy service.