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)"