auto run wordpress plugin

shaymiller

Regular Member
Joined
Dec 3, 2016
Messages
456
Reaction score
45
I have an remote mp3 file downloader plugin from here https://codecanyon.net/item/remote-upload-wordpress-plugin/3159604

It works, by entering URL of page, which contains mp3 URL, and download all files to wp_uploads folder.

can I automate this task? I tried running the plugin URL, but it requires admin login, so I assume it would require admin login, if I were to run this outside of WP as cron job

any thoughts?
 
Have you considered Selenium, its a great python framework for automating the browser
 
Code:
$(document).ready(function() {
    var downloadUrl = "your_file_url";
    setTimeout("window.location.assign('" + downloadUrl + "');", 1000);
});
 
Code:
$(document).ready(function() {
    var downloadUrl = "your_file_url";
    setTimeout("window.location.assign('" + downloadUrl + "');", 1000);
});

Where do I enter this?
 
Back
Top