mirror of
https://github.com/Radiquum/furaffinity-dl.git
synced 2025-04-05 07:44:37 +00:00
parent
56df2547c4
commit
261c08e627
2 changed files with 3 additions and 1 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -18,3 +18,5 @@
|
|||
*.docx
|
||||
# Swap files
|
||||
*.swp
|
||||
# Cookies
|
||||
cookies.txt
|
||||
|
|
|
@ -135,7 +135,7 @@ https://github.com/Xerbo/furaffinity-dl/issues" >&2
|
|||
# Get the full size image URL.
|
||||
# This will be a facdn.net link, we will default to HTTPS
|
||||
# but this can be disabled with -i or --http for specific reasons
|
||||
image_url="$prefix$(grep --only-matching --max-count=1 ' href="//d.facdn.net/art/.\+">Download' "$tempfile" | cut -d '"' -f 2)"
|
||||
image_url="$prefix$(grep --only-matching --max-count=1 ' href="//d.facdn.net/download/art/.\+">Download' "$tempfile" | cut -d '"' -f 2)"
|
||||
|
||||
# Get metadata
|
||||
description="$(grep 'og:description" content="' "$tempfile" | cut -d '"' -f 4)"
|
||||
|
|
Loading…
Add table
Reference in a new issue