1
0
Fork 0

bdfr: download single reddit post

This commit is contained in:
Daniel Kempkens 2024-07-05 10:03:24 +02:00
parent 9e014eb265
commit 5802f5bf57
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM

View file

@ -31,4 +31,13 @@ def "main search" [
http get $url | ignore
}
def "main post" [
post: string
] {
let reddit_url = $post | url encode
let url = $"($base_url)args[link]=($reddit_url)"
http get $url | ignore
}
def main [] {}