A tool to control YouTube using Facebook messenger by browser automation using selenium.
For the lazy folks (of IIT Roorkee and elsewhere) who listen to music on YouTube, now you don't have to go anywhere from Facebook or get up from the bed if you're using FB Messenger on your phone, to change a song on YouTube.
A tool to control YouTube using Facebook messenger. Run the script and once set up, just fire up Facebook chat or messenger on any of your devices and start chatting with yourself to control YouTube.
selenium - pip install selenium
###Running The Program:
python2 main.py -e [user@domain] -p [password]
-e EMAIL, --email EMAIL facebook / messenger login email
-p PASSWORD, --password PASSWORD facebook / messenger login password
play <search term>
: Returns top 5 videos from YouTube, waits for an integer response to play videoplay-now <search term>
: Plays first video from search results (I'm feeling lucky)seek-to <time in seconds>
: Seeks to the said timepause
: Pauses the videounpause
: Unpauses the videomute
: Mutes the videounmute
: Unmutes the videoThe tool is not idiot proof yet. Kindly fork and help in making it idiot proof.