-
-
Notifications
You must be signed in to change notification settings - Fork 975
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
[pixiv] postprocessors
uses wrong {extension}
if there is --ugoira-conv
#1507
Comments
postprocessors
uses wrong {extension} if there is --ugoira-conv
postprocessors
uses wrong {extension}
if there is --ugoira-conv
3. By the way: #1354 (comment) (Remove duplicates for the translated tags) |
4. Fetching of metainfo for ugoira is slowFor example: Fetching of metainfo for images is performed instantly, for ugoira it takes 1+ second for each one. May be it's a bug? Or it's just planned? |
5.
|
This currently depends on the order in which post processors are specified and run. This happens also due to the download process temporarily changing the filename extension from
Because the
I guess converting the tag list to a
Each Ugoira needs an extra HTTP request to fetch its URL and metadata, regular images don't.
See #1388 (comment) |
One drawback of doing that is that the |
It's important to me that I'm able to tell which tag translated to what.
If you mean having both the translated and non-translated tags merged into the same list that would mean I can't tell which tags are translated and which aren't (and there'll be duplicate tags but in different languages). |
The original data is in a format like
So we could just save that whole thing if dupes get pruned from "tags". |
Concerning tags, I think it would be better to redo the current tag situation. My proposal:
|
Sounds good. I'm happy with any solution that allows for getting both translated and untranslated and preserves the pairings. |
That's what the current tags example from the Pixiv Mobile API used by gallery-dl "tags": [
{
"name": "鉛筆",
"translated_name": "pencil"
},
{
"name": "ドローイング",
"translated_name": "drawing"
},
{
"name": "落書き",
"translated_name": "doodle"
},
{
"name": "pencildrawing",
"translated_name": null
},
{
"name": "モノクロ",
"translated_name": "black&white"
},
{
"name": "drawing",
"translated_name": null
},
{
"name": "人物",
"translated_name": "character"
},
{
"name": "アナログ",
"translated_name": "traditional"
},
{
"name": "portrait",
"translated_name": null
},
{
"name": "sketch",
"translated_name": null
}
], |
- rename to 'tags' - use string-values: "japanese", "translated", "noop" - remove duplicate entries for "translated" tags
So
Let me know if anything should be added/changed here. |
1.
postprocessors
uses wrong{extension}
if there is--ugoira-conv
For example:
I use
gallery-dl https://www.pixiv.net/en/artworks/89406523 --ugoira-conv
.The result is follow files:
89406523-0.webm
89406523-0.zip.html
<-- "zip"The expected result should be:
89406523-0.webm
89406523-0.webm.html
Note: I use
-0
, not-{num}
in order to have one HTML for a gallery (which may contain multiple images).2.
--no-download
does not work with--ugoira-conv
:Also I frequently use
--no-skip --no-download
in order to create HTML files with meta info, but do not download the content (if I already have it). (--no-skip
since I use also an archive (--download-archive
))But I can't use
--no-skip --no-download
with--ugoira-conv
:The expected result for
gallery-dl https://www.pixiv.net/en/artworks/89406523 --ugoira-conv --no-skip --no-download
is:89406523-0.webm.html
Note:
webm
, notzip
.The text was updated successfully, but these errors were encountered: