An open API service indexing awesome lists of open source software.

https://github.com/abdulfatir/youtube-via-fb

A tool to control YouTube using Facebook messenger by browser automation using selenium.
https://github.com/abdulfatir/youtube-via-fb

Last synced: 5 months ago
JSON representation

A tool to control YouTube using Facebook messenger by browser automation using selenium.

Awesome Lists containing this project

README

          

# Youtube Via Facebook Messenger

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.

## Dependencies
**selenium** - `pip install selenium`

## Usage

###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 ` : Returns top 5 videos from YouTube, waits for an integer response to play video
* `play-now ` : Plays first video from search results (I'm feeling lucky)
* `seek-to

### Note
The tool is not idiot proof yet. Kindly fork and help in making it idiot proof.