Youtube Auto Likes,Subscribe & Also Community Post Like With Python
https://github.com/yashu1wwww/100-Youtube-Auto-Likes-Using-Localhost
https://github.com/yashu1wwww/100-Youtube-Auto-Subscribers-Using-Localhost
Replace "Email" and "Pass" in lines 7 and 8, respectively. Also, replace line 21 with the URL of the video you want to use.
The script will automatically pause the video and hit the "like" and "subscribe" buttons.
Note: Use accounts that don't have two-factor authentication.
After downloading the folder, extract it and open the command prompt. Enter "python" and check your Python version. Then enter "pip install undetected_chromedriver".
Next, download the appropriate chromedriver version that matches your PC's Chrome version from https://chromedriver.chromium.org/downloads.
Extract the downloaded file to the same folder.
Open the command prompt in that folder and enter "yt.py" or double-click on the "yt.py" file to run the script.
👉Python Install Setup
👉 Note:Every time YouTube updates the code, it varies. So, open the YouTube video, press 'Ctrl+Shift+C' to open the developer tools,
then copy the 'Like' and 'subscribe' button's XPath, CSS, or JavaScript path. Replace it in the code and press 'Ctrl+H' to find and replace the same element in the code.
url = 'https://www.youtube.com/channel/UCcgjOgowzEH8a9RLmXGwn5g/community?lb=Ugkx11iytp7RPxuTCbJqCAu1TNoWNH05_1G3' #put your community vote post url here
driver.get(url)
time.sleep(2)
driver.find_element_by_css_selector('#sign-in > tp-yt-paper-item > div > div.text-area.style-scope.ytd-backstage-poll-renderer > yt-formatted-string.choice-text.style-scope.ytd-backstage-poll-renderer').click()
time.sleep(15)
👉Note:-
👉if your selenium version is in latest version then the code never run
👉open cmd and enter pip uninstall selenium
And enter
pip install selenium==4.2.1 or pip install selenium==4.2.0
and hit enter
and
python -c "import selenium; print(selenium.version)"
𝙏𝙝𝙞𝙨 𝙞𝙣𝙛𝙤𝙧𝙢𝙖𝙩𝙞𝙤𝙣 𝙞𝙨 𝙤𝙣𝙡𝙮 𝙛𝙤𝙧 𝙚𝙙𝙪𝙘𝙖𝙩𝙞𝙤𝙣al 𝙥𝙪𝙧𝙥𝙤𝙨𝙚 𝙖𝙣𝙙 𝙬𝙚 𝙖𝙧𝙚 𝙣𝙤𝙩 𝙧𝙚𝙨𝙥𝙤𝙣𝙨𝙞𝙗𝙡𝙚 𝙛𝙤𝙧 𝙖𝙣𝙮 𝙠𝙞𝙣𝙙 𝙤𝙛 𝙞𝙡𝙡𝙚𝙜𝙖𝙡 𝙖𝙘𝙩𝙞𝙫𝙞𝙩𝙮 𝙙𝙤𝙣𝙚 𝙗𝙮 𝙩𝙝𝙞𝙨 𝙩𝙤𝙤𝙡.