Removed old regex

This commit is contained in:
kirusenn 2017-04-11 17:06:18 -06:00
parent d05b70b1a1
commit cf43273e6e

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