DEV Community

Camilo
Camilo

Posted on

1

Youtube 2 Wordpress Uploader

This simple script (GitHub Repo) can create a new post in your Wordpress using the data found in a Youtube url.

Technologies used

JavaScript Libraries Used:

Be sure to configure your Wordpress with Basic Auth Plugin (And .htaccess config) first before using the Rest API.

Windows

This repo contains a bundled executable with everything you need (nodejs) to execute the scripts with just a double click. See Releases.

Other OS

You can execute the command

node index.js "youtube-url1 youtube-url2 youtube-url-n"

Considerations

The script will search the Youtube url and use the first match. Sometimes Youtube does not return the correct video even when using the full url. Be sure to test your search queries in Youtube to create a query that returns your video as the first result.

Heroku

Simplify your DevOps and maximize your time.

Since 2007, Heroku has been the go-to platform for developers as it monitors uptime, performance, and infrastructure concerns, allowing you to focus on writing code.

Learn More

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more