News for hackers. Stuff that matters.
Re:Automa: A Chrome extension for automating the browser by stevenicr on Sunday November 21, 2021 @06:28PM (#29300847)
anyone know if this, or something similar could take a list of urls - like an exported bookmarks or other table - and do something similar to what: https://addons.mozilla.org/en-US/firefox/addon/video-downloa...

does.. and do it automatically?

I've been trying to find a way to hand over a list of urls and set to download only 2 videos at a time per domain.. then after one is finishes wait a random X seconds and then get the next in the list.

Sounds like it should be easy to put something like this together, just not sure what tools would be most suited for such a thing in this day and age.

Re:Automa: A Chrome extension for automating the browser by Seredo on Monday November 22, 2021 @12:09AM (#29302985)
Sounds like python and Youtube-dl would be a good fit for this.
Re:Automa: A Chrome extension for automating the browser by fragmede on Monday November 22, 2021 @01:33PM (#29309958)
untested but something like

    #!/bin/bash
    for line in url_list; do
        youtube-dl '$line'
        sleep `echo $((1 + $RANDOM % 60))`
    done;