GithubHelp home page GithubHelp logo

ztobs / yt-share Goto Github PK

View Code? Open in Web Editor NEW
16.0 3.0 7.0 3.92 MB

Share private youtube videos automatically, youtube API fails.

Home Page: http://tobilukan.com

PHP 100.00%
youtube api video sharing php mink goutte curl

yt-share's Introduction

I don't really know why google has refused to allow sharing private videos using their API

I have built this CLI tool that shares your video to emails. You can extend its functions and improve on it.

  • Since only private videos can be shared via email, the script first converts to private video.
  • Update the run.php file and set the parameters like email, password and share_emails.
  • Just two lines are written to console, login state and sharing state.
  • You need to "Allow less secure apps" from this url https://myaccount.google.com/security?utm_source=OGB&utm_medium=app#connectedapps for this tool to work.

Enjoy while it lasts.

yt-share's People

Contributors

dependabot[bot] avatar vrana avatar ztobs avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

yt-share's Issues

Is this script still work ?

I just tried and it can't login.

{"metadata_errors":[{"message":"Saat ini Anda belum login. \u003ca href="https://accounts.google.com/ServiceLogin?service=youtube\u0026hl=id\u0026uilel=3\u0026continue=https%3A%2F%2Fwww.youtube.com%2Fsignin%3Fhl%3Did%26next%3Dmy_videos_upload%26feature%3Dedit_video%26app%3Ddesktop%26action_handle_signin%3Dtrue\u0026passive=true"\u003eLogin\u003c/a\u003e dan coba lagi."}]}

Can you please check ?

Your browser does not support javascript

Hi,
I found that Google blocks the script at function signIn
$mink->getSession()->getPage()->find("css", "#Email")->setValue($email);
$mink->getSession()->getPage()->find("css", "#next")->click();
I did getContent and got the error message from google, which said "Your browser does not support javascript. Please enable javascript for your browser."
Do you have any idea of this error?
Thank you very much!
@ztobs

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.