diff --git a/annas-archive.js b/annas-archive.js index 58b9b3e..7d44758 100644 --- a/annas-archive.js +++ b/annas-archive.js @@ -6,7 +6,6 @@ // @version 1.0 // @author eneller // ==/UserScript== -console.log('UserScript: Looking for Download Button'); downloadButton = document.querySelector('a.font-bold'); if (downloadButton!= null){ downloadButton.click(); diff --git a/uv-upgrade.hook b/uv-upgrade.hook new file mode 100644 index 0000000..881a8a7 --- /dev/null +++ b/uv-upgrade.hook @@ -0,0 +1,10 @@ +[Trigger] +Operation = Upgrade +Type = Package +Target = * + +[Action] +Description = Upgrade python programs installed as 'uv tool' +When = PostTransaction +Depends = python-uv +Exec = /usr/bin/uv tool upgrade --all diff --git a/video.ytdl b/video.ytdl new file mode 100644 index 0000000..4f36063 --- /dev/null +++ b/video.ytdl @@ -0,0 +1,7 @@ +# Point to this config using --config-location +# download playlist if ambiguous +--yes-playlist +-f "bestvideo[height=360]+bestaudio/best[height=360]" +--merge-output-format mp4 +# set output names +-o ~/Downloads/ytdl/%(playlist_title|misc)s/%(title)s.%(ext)s