EndlessMISAKA / AtelierMisaka

To show and download content on Fanbox or Fantia or Patreon.
MIT License
151 stars 21 forks source link

Feature Request: Add hyperlinks to txt files. #9

Closed DisasterInbound closed 3 years ago

DisasterInbound commented 3 years ago

Sometimes creators don't add the files directly to their page and instead use an online archive website (Mega, Dropbox, etc.)

So normally you would need to click on the link to download the file however, if you download a post from them that includes the link on the description, it is not added to the "Comment.txt" file.

Example:

On the Patreon page it will say

Click here to download the archive

but on the txt file it only shows the literal text

Click here to download the archive

but doesn't add the hyperlink of the website

I've not noticed if this behavior is the same for Fantia and Fanbox but if it is, it would be really useful to add the hyperlinks to the same txt files used on the 3 websites when saving the post description.

DisasterInbound commented 3 years ago

Also if this is added, would there be a way to re-download all Comment.txt files?

As currently all the txt files doesn't include the hyperlinks, I would like to re-download only the txt files without having to include the media files previously downloaded.

EndlessMISAKA commented 3 years ago

Sorry for my delay, maybe it is an Embed Item. I will send mail to you.

EndlessMISAKA commented 3 years ago

Sorry for my delay. In this case, I need jsondata. Open the Posts page, use F12 like "get cookie". QQ截图20201001091749 Filter with "posts?include=c". In Patreon, posts page will show 20 posts in one page, so if the error post is No.31, you should "Load more", and select second package like this: QQ截图20201001092355 Copy All in the "Response", paste into a new txt file and send it to me. Thank you.

DisasterInbound commented 3 years ago

Hi, I'm really sorry for the delay.

I tried the steps you detailed but just a minor thing, I did not find anything with "posts?include=c" like you mentioned, only with "posts?include=" which I found one

However, how can I copy and paste everything on the Response tab.

Everything is only showing up like this:

waterfox_2020-11-18_16-42-29

EndlessMISAKA commented 3 years ago

You can copy this link and open it in a new browser tab, the Response will show in web like text.

DisasterInbound commented 3 years ago

Thanks. Here is the text file of one of the posts that have a hyperlink hyperlink post.txt

EndlessMISAKA commented 3 years ago

This response has no useful content, use this link hyperlink.txt I will delete it after I get it.

EndlessMISAKA commented 3 years ago

Which one has hyperlink? Tell me the post title

DisasterInbound commented 3 years ago

The post title should be "Rias Gremory :: full version"

Here is a screenshot of how it looks like

waterfox_2020-11-20_03-04-07

I followed the steps exactly as you mentioned so I hope it was able to work but I'm not sure why it is not showing up on the txt file

EndlessMISAKA commented 3 years ago

OK, I know what you mean, but this post doesn't in that txt file. Use this: hyperlink_1.txt

thatguyinthebox commented 3 years ago

Hi,

This does not appear to be working on Pixiv Fanbox posts. Here is an example screenshot from two posts:

Post #1 - https://www.fanbox.cc/@janyhero/posts/1044935 - Open to public: image

Post #2 - https://janyhero.fanbox.cc/posts/1044889 - Paid post: image

For Post #1, it is open to public so I will allow you to check it.

For Post #2, I found this in the Network sources that looks like it has the post content, I hope this is helpful: image

I have attached the contents of this so that you can review. postId=1044889.txt

thatguyinthebox commented 3 years ago

Also for reference, I have attached the two comment.html that AtelierMisaka downloads for these two posts: Comment.zip

DisasterInbound commented 3 years ago

Sorry, I closed it accidentally.

But I wasn't sure f this may needed to be closed since this is now possible to do it.