-
-
Notifications
You must be signed in to change notification settings - Fork 951
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[fantia] gallery-dl does not download images from new type 'Blog Post' content #2381
Comments
Here is a quick & dirty patch (generated by git diff) that adds support for blog posts + images. Implementation details: |
Thank you for the swift feedback! I tried to add other types of files to the blog post, but was unable to do so. It looks like there is an option to add html. The final line mentions which html tags are available for use. I have added a new section at the bottom of the post to test how blog posts work with images uploaded to fantia and images loaded from html. I used this html: Embedding tweets and YouTube videos does not seem to currently work due to tag restrictions. Since files cannot be added to blog posts, and only specific html tags can be used for importing html, I think that images are the only file to expect to be extracted from blog post content from fantia at this time. |
Thanks for checking, I feared there would be other types of attachments for zips and so on. Lucky that's not the case. {
"ops": [
{
"insert": "Link to video:\n"
},
{
"attributes": {
"link": "https://www.youtube.com/watch?v=5SSdvNcAagI"
},
"insert": "https://www.youtube.com/watch?v=5SSdvNcAagI"
},
{
"insert": "\n\nhtml img from another site:\n"
},
{
"insert": {
"image": "https://www.w3schools.com/images/lamp.jpg"
}
}
]
} So they can be processed similarly to the fantiaImage entries in my patch. |
from @thatfuckingbird with small adjustments #2381 (comment)
Fantia has recently added 'Blog Post', which is a new type of content for creators to use.
'Blog Posts' allow creators to embed images within their blog posts.
Currently, gallery-dl does not download any images embedded in 'Blog Posts'.
I have prepared an example of a post that uses the new 'Blog Post' content.
https://fantia.jp/posts/1166373
This post contains the following:
An eyecatcher in the required public portion of the post.
A public image gallery containing 2 images.
A public blog post with 2 images embedded
A fan only (free plan) blog post with 2 images embedded.
From the post, the images downloaded are the eye catcher and the two images in the public image gallery.
The other 4 images are not downloaded.
The text was updated successfully, but these errors were encountered: