mirror of
https://github.com/Radiquum/furaffinity-dl.git
synced 2025-04-06 00:04:38 +00:00
Fix false positive error that the cookie file is invalid when none was provided
This commit is contained in:
parent
3506497c88
commit
123b3be87d
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ page_counter=1
|
||||||
# Iterate over the gallery pages with thumbnails and links to artwork view pages
|
# Iterate over the gallery pages with thumbnails and links to artwork view pages
|
||||||
while true; do
|
while true; do
|
||||||
fwget -O "$tempfile" "$url"
|
fwget -O "$tempfile" "$url"
|
||||||
if grep -q 'furaffinity.net/login/' "$tempfile"; then
|
if [ "$COOKIES_FILE" != "" ] grep -q 'furaffinity.net/login/' "$tempfile"; then
|
||||||
echo "--------------
|
echo "--------------
|
||||||
|
|
||||||
ERROR: You have provided a cookies file, but it does not contain valid cookies.
|
ERROR: You have provided a cookies file, but it does not contain valid cookies.
|
||||||
|
|
Loading…
Add table
Reference in a new issue