Skip to content

Commit

Permalink
SNSダウンロード3兄弟を書いた
Browse files Browse the repository at this point in the history
consoleのみtaskを入れている
  • Loading branch information
cradle8810 committed May 2, 2024
1 parent e8b7e5d commit 3594074
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"yaml.schemas": {
"https://raw.githubusercontent.com/ansible/ansible-lint/main/src/ansiblelint/schemas/ansible-lint-config.json": "file:///home/hayato/Git/ansible_hayaworld/tasks/sns_dl_linux.yml"
}
}
10 changes: 7 additions & 3 deletions tasks/sns_dl_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,14 @@
url: https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp_linux
dest: /opt/bin/yt-dlp
checksum: sha256:6a04fddc3609d22736c39a23ba61913332689ade8380892aac846f4ced753c7b
mode: '0755'
mode: "0755"

# - name: Download twitter-loader
# https://github.com/mmpx12/twitter-media-downloader/releases/tag/v1.13.2
- 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
Expand Down

0 comments on commit 3594074

Please sign in to comment.