diff --git a/.gitignore b/.gitignore index e43b0f9..c2ccd6b 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ .DS_Store +.vscode/** diff --git a/console.yml b/console.yml index 51d5980..ccd1d46 100644 --- a/console.yml +++ b/console.yml @@ -71,6 +71,10 @@ ansible.builtin.import_tasks: file: tasks/console/install_rename.yml + - name: Install Pre-builded SNS downloaders + ansible.builtin.import_tasks: + file: tasks/sns_dl_linux.yml + - name: Stop Apt-daily ansible.builtin.import_tasks: file: tasks/stop-apt-daily.yml diff --git a/tasks/sns_dl_linux.yml b/tasks/sns_dl_linux.yml new file mode 100644 index 0000000..b72ea6b --- /dev/null +++ b/tasks/sns_dl_linux.yml @@ -0,0 +1,25 @@ +--- +- name: Install Dir mkdir(/opt/bin/) + ansible.builtin.file: + path: /opt/bin + state: directory + mode: '0755' + +- name: Download yt-dlp + ansible.builtin.get_url: + url: https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp_linux + dest: /opt/bin/yt-dlp + checksum: sha256:6a04fddc3609d22736c39a23ba61913332689ade8380892aac846f4ced753c7b + mode: "0755" + +- name: Download twitter-loader + ansible.builtin.unarchive: + src: "https://github.com/mmpx12/twitter-media-downloader/releases/download/v1.13.2/twitter-media-downloader-v1.13.2-linux-amd64.tar.gz" + dest: /opt/bin/ + remote_src: true + mode: "0755" + + # https://github.com/instaloader/instaloader +- name: Download instaloader + ansible.builtin.pip: + name: instaloader