https://github.com/ninjascl/youtube2wordpress
A Simple Youtube to Wordpress Uploader
https://github.com/ninjascl/youtube2wordpress
nodejs wordpress youtube
Last synced: 3 months ago
JSON representation
A Simple Youtube to Wordpress Uploader
- Host: GitHub
- URL: https://github.com/ninjascl/youtube2wordpress
- Owner: NinjasCL
- License: mit
- Created: 2020-05-17T05:19:03.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-05-17T05:40:18.000Z (about 6 years ago)
- Last Synced: 2025-01-21T03:42:19.408Z (over 1 year ago)
- Topics: nodejs, wordpress, youtube
- Language: JavaScript
- Size: 11.6 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Youtube 2 Wordpress Uploader
This is a simple script that will download a _Youtube_ video thumbnail
and upload it to a _Wordpress_ website including the _Youtube Url_. (Using _Wordpress JSON API_).
## Configure
The file `config.json` contains the configuration needed to connect with a _Wordpress Rest JSON API_.
Ensure that your _Wordpress_ is properly configured (Check https://github.com/WP-API/Basic-Auth/issues/35#issuecomment-470532805).
## Usage
You can use any search term (separated by spaces). The first
result will be the video uploaded. The best result is achieved
by using the full url of the video (althought sometimes this can bring the wrong video).
Use `+` signs to separate words with spaces.
The same as _Youtube Search_ bar, try your query there first. The first result will be used.
```sh
node index.js "youtube-url1 youtube-url2 youtube-url-n"
```
## Windows
A bundled _Windows_ command prompt and _node_ executable was included.
Just exec `yt2wp.cmd`.

## License
MIT
Made with ♥ by Ninjas.cl.