Merge pull request #2 from Kirusenn/cookieBug

Removed old regex
This commit is contained in:
Christopher Nielson 2017-04-11 17:06:58 -06:00 committed by GitHub
commit 88699a5af1

View file

@ -79,7 +79,6 @@ https://github.com/Shnatsel/furaffinity-dl/issues" >&2
# Get the full size image URL.
# This will be a facdn.net link, we have to use HTTP
# to get around DPI-based page blocking in some countries.
#image_url='http:'$(grep -E --max-count=1 --only-matching '"[^"]+">Download[[:space:]]?</a>' "$tempfile" | cut -d '"' -f 1)
image_url='http:'$(grep -E --max-count=1 --only-matching '<a href="//d.facdn.net[^"]+"[[:space:]]{1}' "$tempfile" | cut -d '"' -f 2)
# TODO: Get the submission title out of the page