From 261c08e6279afcda5c9efd90e08388f028d99a0b Mon Sep 17 00:00:00 2001 From: Xerbo Date: Wed, 1 Jan 2020 18:07:39 +0000 Subject: [PATCH] Fix accounts with beta theme #28 Add cookies.txt to .gitignore --- .gitignore | 2 ++ furaffinity-dl | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 219a4e1..d4422ac 100644 --- a/.gitignore +++ b/.gitignore @@ -18,3 +18,5 @@ *.docx # Swap files *.swp +# Cookies +cookies.txt diff --git a/furaffinity-dl b/furaffinity-dl index 98a955c..80113e3 100755 --- a/furaffinity-dl +++ b/furaffinity-dl @@ -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)"