How can we know if Youtube has blocked our server's IP address?
Is it by getting a "Connection timed out", means our server's IP has been blocked?
Thanks.
A "Connection timed out" response means the connection timed out. There are many reasons that you might receive this message. One of those reasons could be because your IP is blocked. But you need to eliminate all other possible reasons before you can conclude that this 100% means YouTube has blocked your IP.
What you might do is:
1) Send a regular cURL request to a page hosted on another server (not a YouTube page).
2) Send another "regular" cURL request to a YouTube video page
3) Send a cURL request to the same YouTube video page, but change the outgoing IP address via CURLOPT_INTERFACE or CURLOPT_PROXY. (The IP you use should not be a shared IP, and should not otherwise have been used to connect to YouTube in the past.)
4) Repeat steps #1-3 a few times
If you are consistently unable to connect via #2 but can connect via #1 and #3, then you could make a case that your regular server IP is banned or blocked by YouTube.
A "Connection timed out" response means the connection timed out. There are many reasons that you might receive this message. One of those reasons could be because your IP is blocked. But you need to eliminate all other possible reasons before you can conclude that this 100% means YouTube has blocked your IP.
What you might do is:
1) Send a regular cURL request to a page hosted on another server (not a YouTube page).
2) Send another "regular" cURL request to a YouTube video page
3) Send a cURL request to the same YouTube video page, but change the outgoing IP address via CURLOPT_INTERFACE or CURLOPT_PROXY. (The IP you use should not be a shared IP, and should not otherwise have been used to connect to YouTube in the past.)
4) Repeat steps #1-3 a few times
If you are consistently unable to connect via #2 but can connect via #1 and #3, then you could make a case that your regular server IP is banned or blocked by YouTube.
Is Youtube blocking IP addresses only for temporary time limit or forever? Because now my server is back to normal.
I try to download MP3 from youtube links, when I write the URL and click to download, I get a flv files in videos folder.
Then it's stop on "Converting video. . ." and I never get the mp3 files
I use Uwamp and Win8.. thanks for help
Robin
Hi,
1) Please check that the _FFMPEG constant value in config.class.php points to the correct location of the FFmpeg binary on your Linux server.
2) Please ensure that all relevant directories and files are chmod to 0777
3) Please check your ‘videos’ directory. Are there video files in the directory? If so, are the video files playable? Are the videos fully downloaded? Are the videos 0 kb in length?
4) Please check your ‘logs’ directory for FFmpeg log files. Are there any log files in the directory? If so, please copy and paste the contents of a log file that corresponds to a failed conversion. (There should be errors in the log file.)
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.
I have just finished updating the paid-for version of my software. New in this version:
Fixed a bug that periodically caused video downloads to fail on Windows and XAMPP platforms.
The following files/directories were changed/added:
VideoConverter.class.php updated
Only VideoConverter.class.php was updated, and only the relevant code in the SetVidSourceUrls() method was modified.
All previous customers who have purchased the paid-for version of my app are receiving this new, updated version via the e-mail addresses that you provided at Tradebit.com.
Please report any issues with either the paid-for version or the free version in this forum thread. Your feedback is encouraged. Donations are welcome!
- how long the converting files to be saved on the server?
As long as you want them to be! The length of time the files remain on the server can be set in config.class.php (via a class constant value). And a separate PHP file (schedule.php), intended to be run as a cron job (scheduled task) on your server, deletes old converted files per the corresponding setting in the Config class. I recommend setting up the cron job to run at least once a day.
- What files will automatically deleted?
Generally, log files and temporary video files are automatically deleted after each conversion. In the event that they aren't deleted automatically (i.e., if a conversion is abandoned before it completes), then schedule.php can also be configured to "clean up" and delete old files in the 'logs' and 'videos' directories as well.
- how about update? lifetime update?
All customers receive free lifetime updates to the software. When I fix bugs or add new features, you are sent a new version of the software to the email address that you provided during your Tradebit.com purchase.
Comment