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.

Top comments (0)

SurveyJS custom survey software

Build Your Own Forms without Manual Coding

SurveyJS UI libraries let you build a JSON-based form management system that integrates with any backend, giving you full control over your data with no user limits. Includes support for custom question types, skip logic, an integrated CSS editor, PDF export, real-time analytics, and more.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay