Requirements:
- Apache 2.4 or Nginx
- PHP 5.6+ with IonCube Loader and CURL extension
- MySQL/MariaDB
- Squid Proxy installed on your Server
- Anti-Captcha.com account with a balance
- YouTube Media Converter software
Installation Instructions
- Ensure that the YouTube Media Converter is uploaded to your server.
- Unzip the Anti-Captcha Plugin and upload the "AntiCaptcha" folder to the "/vendors" directory.
- Open "/vendors/AntiCaptcha/lib/Config.php" and configure the constant values as per the code comments.
- _ANTICAPTCHA_LICENSE_KEY is the license key given to you at the time of Plugin purchase
- _APP_PROXY_IP is your Server IP
- _APP_PROXY_PORT is "3128" (for Squid Proxy)
- Locate and open "ackey.sql" in "/vendors/AntiCaptcha/docs".
- Ensure that the Database login info is set correctly in "/lib/Config.php", i.e.:
- Open the Database indicated by the _DATABASE value and Execute the SQL code in "ackey.sql" via phpMyAdmin (or a similar MySQL/MariaDB UI) or the MySQL command line
- Ensure that the Database login info is set correctly in "/lib/Config.php", i.e.:
- Edit the following values in "/lib/Config.php":
- Ensure _WEBSITE_DOMAIN is set to, e.g., "yoursite.com"!
- Remove the "//" that prepends 'AntiCaptcha' in the $_plugins array, i.e.:
- Set _ENABLE_IP_ROTATION to false
- Set _ENABLE_SEARCH_SCRAPING to true
-
Set permissions of the "/vendors/AntiCaptcha/storage" folder to CHMOD 0777, and Set permissions of "/vendors/AntiCaptcha/cronjob.php" to CHMOD 0755.
-
Create the YouTube "login" cookie file.
-
Install this Chrome Extension in your Browser: "Get Cookies.txt"
- To avoid invalidating the resulting cookie file by inadvertently logging out of YouTube (which will "break" your website), consider installing this extension in a little-used browser like Opera instead of Chrome.
- In Opera, you must install this extension (to enable the installation of Chrome Extensions in Opera) before installing the Chrome "Get Cookies.txt" extension.
-
Navigate to YouTube.com in your Browser and log out if you are currently logged in.
-
Login in to your YouTube Account.
-
Important!!: Never sign out of YouTube, in this Browser, because this will invalidate the "login" cookie file (and subsequently "break" your website)!
-
Click on the "Get Cookies.txt" Extension icon, Click the "Export" button, and Save the cookie file to your PC, i.e.:
-
Open this file, Copy all file content, Paste it into "/vendors/AntiCaptcha/storage/youtube_cookie.txt", and Save "youtube_cookie.txt".
-
-
Create a Cron job (via SSH or aaPanel) and schedule it to run Every Minute.
-
Via SSH:
-
Type the following command in console:
-
crontab -e
-
-
Arrow down to the bottom and Add this line:
-
*/1 * * * * php -q /FULL/PATH/TO/vendors/AntiCaptcha/cronjob.php >> /FULL/PATH/TO/vendors/AntiCaptcha/storage/cron.log
-
-
Type Ctrl-X and then "Y" to save the file.
-
-
Via aaPanel:
-