mirror of
https://github.com/Radiquum/furaffinity-dl.git
synced 2025-04-05 07:44:37 +00:00
Fixed regex
This regex works for both logged in and not, and should work for beta and normal FA
This commit is contained in:
parent
88699a5af1
commit
06b5237db5
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ 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 '<a href="//d.facdn.net[^"]+"[[:space:]]{1}' "$tempfile" | cut -d '"' -f 2)
|
||||
image_url='http:'$(grep -E --max-count=1 --only-matching 'href="//d\.facdn\.net/art/.+\.[[:alpha:]]{1,4}">Download' "$tempfile" | cut -d '"' -f 2)
|
||||
|
||||
# TODO: Get the submission title out of the page
|
||||
# this trick may come in handy for avoiding slashes in filenames:
|
||||
|
|
Loading…
Add table
Reference in a new issue