GithubHelp home page GithubHelp logo

yashu1wwww / youtube-video-auto-upload-using-localhost Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 1.0 27 KB

youtube video auto upload using selenium with python on localhost

License: MIT License

Python 100.00%
autobots automation autoupload bots youtube youtubebot youtubebots youtubeautovideoupload python selenium

youtube-video-auto-upload-using-localhost's Introduction

youtube-video-auto-upload

youtube video auto upload using selenium with python on localhost

If it comfort to use in undetected_chromedriver script then fork it...

https://www.youtube.com/watch?v=FVumnHy5Tzo&t=1s&ab_channel=HelloWorld

<๐™ฌ๐™–๐™ฉ๐™˜๐™ ๐™ช๐™ฅ๐™ฉ๐™ค 3mins.46sec+ ๐™ฉ๐™๐™š๐™ฃ ๐™ง๐™š๐™ข๐™–๐™ž๐™ฃ๐™ž๐™ฃ๐™œ ๐™ฅ๐™–๐™ง๐™ฉ in the code

C:\Users\Hp\AppData\Local\Google\Chrome\Application

in my case chrome location(use start in:) is

cd C:\Users\Hp\AppData\Local\Google\Chrome\Application

next,

chrome.exe --remote-debugging-port=9222 --user-data-dir=""(in "enter your localhost path here")

Next, enter this command into the terminal, replacing "enter your localhost path here" with your localhost path:

For example, in my case it is:

chrome.exe --remote-debugging-port=9222 --user-data-dir="C:\Users\Hp\Desktop\Bots\Chromedriver\Localhost"

then new terminal in that folder and enter upload.py

Then, open the command prompt in that folder and paste the following two lines one at a time and press enter. (The code below assumes that you have watched the video and have set up the correct Chrome and localhost path.)

cd C:\Users\Hp\AppData\Local\Google\Chrome\Application

chrome.exe --remote-debugging-port=9222 --user-data-dir="C:\Users\Hp\Desktop\Bots\Chromedriver\Localhost"

In lines 18 and 20th of the code, change the 18th line of the code with video path (create video folder and folder must be in localhost contain folder only) & 20th line with video description change it...

That's it! The URL will open in the previously opened localhost Chrome and upload video automatically.

in cmd enter

pip install Random

and hit enter button

๐Ÿ‘‰ Note:Every time YouTube updates the code, it varies. So, open the YouTube video, press 'Ctrl+Shift+C' to open the developer tools,

๐Ÿ‘‰Python Install Setup=https://youtu.be/4bUOrMj88Pc

๐Ÿ‘‰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-video-auto-upload-using-localhost's People

Contributors

yashu1wwww avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

r1cky13obby

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.