Skip to content
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

[hentaifox] metadata bug: list values mixed up with item counts when "|" split tag is present #1378

Closed
jgrubs1 opened this issue Mar 13, 2021 · 0 comments

Comments

@jgrubs1
Copy link

jgrubs1 commented Mar 13, 2021

Gallery metadata is not parsed correctly for many galleries for list type records. The bug is repeatable, and can occur in any record of the "list" type (e.g. artist, group, parody, tags) where the expandable "|" separator is used in the HTML code as a split tag:

<span class='split_tag'> |

Example:

https://hentaifox.com/gallery/630/

Metadata as listed on the gallery page:

Parodies: darkstalkers 61 final fantasy vii 195

Parodies:</span><li><a class='tag_btn btn_long' href='/parody/darkstalkers/'>darkstalkers<span class='split_tag'> | vampire</span> <span class='t_badge'>61</span>

Metadata parsed by gallery-dl:

"parody": [
    "darkstalkers",
    "61",
    "195"
],

Expected values:

"parody": [
    "darkstalkers| vampire",
    "final fantasy vii",
],

or even

"parody": [
    "darkstalkers",
    "vampire",
    "final fantasy vii",
],

Possible cause: highlighting the "darkstalkers" item on the gallery's Web page expands to "darkstalkers| vampire". It could be possible that gallery-dl handles the "|" separator incorrectly.

@jgrubs1 jgrubs1 changed the title [hentaifox] metadata bug: list values mixed up with item counts when "|" separator occurs [hentaifox] metadata bug: list values mixed up with item counts when "|" split tag is present Mar 13, 2021
@mikf mikf closed this as completed in 6be7df5 Mar 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants