mirror of
https://github.com/Radiquum/furaffinity-dl.git
synced 2025-04-06 00:04:38 +00:00
Merge branch 'cookieBug'
This commit is contained in:
commit
ddaea259f2
2 changed files with 4 additions and 2 deletions
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
|
||||||
|
*.swp
|
|
@ -75,11 +75,11 @@ https://github.com/Shnatsel/furaffinity-dl/issues" >&2
|
||||||
echo "WARNING: $page seems to be inaccessible, skipping."
|
echo "WARNING: $page seems to be inaccessible, skipping."
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Get the full size image URL.
|
# Get the full size image URL.
|
||||||
# This will be a facdn.net link, we have to use HTTP
|
# This will be a facdn.net link, we have to use HTTP
|
||||||
# to get around DPI-based page blocking in some countries.
|
# 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 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
|
# TODO: Get the submission title out of the page
|
||||||
# this trick may come in handy for avoiding slashes in filenames:
|
# this trick may come in handy for avoiding slashes in filenames:
|
||||||
|
|
Loading…
Add table
Reference in a new issue