Comments (1)
Minor update to clean up a few more things in the description from line 148:
description="$(cat "$tempfile" | tr '\n' ' ' | sed 's/\(<div class="submission-description">\)/\n\1/gI' | sed 's/\(<\/div>\)/\1\n/gI' | grep -o '<div class="submission-description".*</div>' | sed 's/<div class="submission-description"> //g' | sed 's@<br />@\n@g' | sed 's@" title=.*</a>@@g' | sed 's/<a href="//g' | sed 's@" class=".*</a>@@g' | sed 's@ </div>@@g' | sed 's/"/"/g' | sed 's/<a class="auto_link named_url" href="//g' | sed 's@</a>@@g' | sed 's/././g' | sed 's@<i class=".*</i>@@g' | sed 's/>/>/g' | sed 's/</</g' | sed 's/" class="iconusername.*align="middle//g' | sed 's/&/\&/g' | sed "s/'/'/g" | sed 's/£/£/g' | sed 's/¥/¥/g' | sed 's/€/€/g' | sed 's/<span.*span>//g' | sed 's/<strong class="bbcode bbcode_b">//g' | sed 's/<a class="auto_link named_url" href="//g' | sed 's/">.*strong>//g' | sed 's/">/ /g' | sed 's/\r//g' | sed 's/^ //g')"
if [ $classic = true ]; then
title="$(grep -Eo '<h2>.*</h2>' "$tempfile" | awk -F "<h2>" '{print $2}' | awk -F "</h2>" '{print $1}' | sed 's/"/"/g' | sed 's/&/\&/g' | sed 's@/@_@g')"
else
title="$(grep -Eo '<h2><p>.*</p></h2>' "$tempfile" | awk -F "<p>" '{print $2}' | awk -F "</p>" '{print $1}' | sed 's/"/"/g' | sed 's/&/\&/g' | sed 's@/@_@g')"
from furaffinity-dl.
Related Issues (20)
- Please put feed back for the Python version on this thread HOT 16
- No address associated with hostname. HOT 4
- It onlyworks on some galleries but not on others also it only downlodes SFW HOT 3
- Problem with using cookies HOT 1
- Getting full size image URL is broken HOT 2
- Skip files already downloaded? HOT 1
- furaffinity-dl only downloading empty "https:" file? HOT 2
- just a thanks
- Gets stuck in inf download loop when trying to download folder from someone gallery with only 1 page HOT 4
- Domain chanced from d.facdn.net to d.furaffinity.net
- Script is unable to find "Next" button and throws AtributeError when done with gallery HOT 1
- Meta Data doesn't download entire description HOT 1
- <deleted>
- Way to download folders HOT 6
- copying a descriptor HOT 10
- macOS mktemp unsupported argument
- Users with dashes in the beginning of their name throw unrecognized arguments exception. HOT 1
- Persistently errors out on one particular image. HOT 2
- no longer works HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from furaffinity-dl.