mirror of
https://github.com/Radiquum/furaffinity-dl.git
synced 2025-04-05 07:44:37 +00:00
Fix saving issues when post title contains /
This commit is contained in:
parent
31f5472734
commit
2cf9beb3d3
1 changed files with 1 additions and 0 deletions
|
@ -125,6 +125,7 @@ https://github.com/Xerbo/furaffinity-dl/issues" >&2
|
|||
description=$(grep 'og:description" content="' "$tempfile" | cut -d '"' -f4)
|
||||
title=$(grep 'og:title" content="' "$tempfile" | cut -d '"' -f4)
|
||||
title="${title%" by"*}" # Remove the " by Artist" bit
|
||||
title="$(echo $title | tr -d "/")"
|
||||
file_type=${image_url##*.}
|
||||
file="$outdir/$title.$file_type"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue