Code Monkey home page Code Monkey logo

youtube-auto-likes-and-subscribe's Introduction

Youtube-Auto-Likes-And-Subscribe

Youtube Auto Likes,Subscribe & Also Community Post Like With Python

If These Code Stop In Middle Run These.

https://github.com/yashu1wwww/100-Youtube-Auto-Likes-Using-Localhost

https://github.com/yashu1wwww/100-Youtube-Auto-Subscribers-Using-Localhost

new like code replace in the code where #like button code having

#like button

driver.execute_script("return document.querySelector('#segmented-like-button > ytd-toggle-button-renderer > yt-button-shape > button > yt-touch-feedback-shape > div > div.yt-spec-touch-feedback-shape__fill')").click()

new subscribe code replace in the code where #sub button code having

#sub button

driver.execute_script('document.querySelector("#subscribe-button-shape > button > yt-touch-feedback-shape > div > div.yt-spec-touch-feedback-shape__fill").click()')

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

https://youtu.be/4bUOrMj88Pc


๐Ÿ‘‰ 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.


If You Want Auto Community Vote Add Below Code In last Line Of Script

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)

it only vote first line only and for which vote tab is starting post in community tab

๐Ÿ‘‰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 ๐™ฅ๐™ช๐™ง๐™ฅ๐™ค๐™จ๐™š ๐™–๐™ฃ๐™™ ๐™ฌ๐™š ๐™–๐™ง๐™š ๐™ฃ๐™ค๐™ฉ ๐™ง๐™š๐™จ๐™ฅ๐™ค๐™ฃ๐™จ๐™ž๐™—๐™ก๐™š ๐™›๐™ค๐™ง ๐™–๐™ฃ๐™ฎ ๐™ ๐™ž๐™ฃ๐™™ ๐™ค๐™› ๐™ž๐™ก๐™ก๐™š๐™œ๐™–๐™ก ๐™–๐™˜๐™ฉ๐™ž๐™ซ๐™ž๐™ฉ๐™ฎ ๐™™๐™ค๐™ฃ๐™š ๐™—๐™ฎ ๐™ฉ๐™๐™ž๐™จ ๐™ฉ๐™ค๐™ค๐™ก.

youtube-auto-likes-and-subscribe's People

Contributors

yashu1wwww avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

youtube-auto-likes-and-subscribe's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.