Xerbo / furaffinity-dl

FurAffinity Downloader, now with 100% more Python
BSD 3-Clause "New" or "Revised" License
90 stars 17 forks source link

copying a descriptor #62

Open Gromily4 opened 2 years ago

Gromily4 commented 2 years ago

is it possible to create as metadata a descriptor from class="submission-description user-submitted-links"

Radiquum commented 2 years ago

it's possible, but for what reason you need it, if it just a whole description anyways?

Gromily4 commented 2 years ago

Since there are large amounts of text in this description. For example there is written some story. and I would like to have a full description of it, not something neutered. Examples: https://www.furaffinity.net/view/45866233/ https://www.furaffinity.net/view/45597683

Radiquum commented 2 years ago

it is full, just new lines are replaced with \n, because JSON can't handle it

![image](https://user-images.githubusercontent.com/68120017/174393857-f1f7a097-d85d-42e9-9593-de49ba8eeafc.png) ![image](https://user-images.githubusercontent.com/68120017/174393924-6586db4b-c1d9-4df7-a970-51235189a58e.png)
Radiquum commented 2 years ago

this is as close as I could get it to work, without /n, also it's a list, not just a string:

![image](https://user-images.githubusercontent.com/68120017/174404872-8ad9444a-fa35-4d58-bd86-d9c797ce586e.png) ![image](https://user-images.githubusercontent.com/68120017/174404945-be8961e5-4b90-4917-ac69-f75bb776b94a.png)
Gromily4 commented 2 years ago

Yes, you should, but what do you have to do to achieve this result?

Radiquum commented 2 years ago

Yes, you should, but what do you have to do to achieve this result?

it's currently implemented in my fork of python version of this script, you just need to pass some arguments to it

p.s. sorry for the slow reply, I didn't saw that you edited your comment

Gromily4 commented 2 years ago

Thanks for your help. I downloaded your version in python, but how do I load this descripthen, since --json-description does not work.

Radiquum commented 2 years ago

Thanks for your help. I downloaded your version in python, but how do I load this descripthen, since --json-description does not work.

python furaffinity-dl.py \<username> \<category> -m --json-description

-m needed for enabling metadata downloading --json-description needed for download description as a list

if it's giving some kind of an error then please open an new issue on page of the fork

Deer-Spangle commented 2 years ago

if it's giving some kind of an error then please open an new issue on page of the fork

Just a heads-up from a nosy observer, but issues are not enabled on your fork (they're disabled by default on forks) Should be able to turn them on under Settings > General > Features > Issues

Radiquum commented 2 years ago

issues are not enabled on your fork

oops.. didn't notice that, well at least the are enabled now, thanks for your observation 😅