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

[bato]Add support for all bato mirror websites /naming problem #5042

Closed
gcfvfhg opened this issue Jan 9, 2024 · 7 comments
Closed

[bato]Add support for all bato mirror websites /naming problem #5042

gcfvfhg opened this issue Jan 9, 2024 · 7 comments

Comments

@gcfvfhg
Copy link

gcfvfhg commented Jan 9, 2024

Thanks to bug-assassin and mikf

Can the following mirror websites be supported?
they all come from bato
(If you try to register an account, you can see them on the account homepage)

wto.to
mto.to
dto.to
hto.to
mangatoto.com
mangatoto.net
mangatoto.org
batotoo.com
batotwo.com
battwo.com
comiko.net
bato.to
comiko.org
batocomic.com
batocomic.net
batocomic.org
readtoto.com
readtoto.net
readtoto.org
xbato.com
xbato.net
xbato.org
zbato.com
zbato.net
zbato.org

@gcfvfhg
Copy link
Author

gcfvfhg commented Jan 9, 2024

I used the following configuration, but there seems to be something wrong with the results I get
(Many users in bato use special symbols to name titles and chapters, I want to avoid it)

   "batoto":
   {
        "directory": ["{category}","{manga_id}","{chapter_id}"],
        "filename": "{num:>03}.{extension}"
   },

\batoto\0\2471137\None.webp

{manga_id} and "filename": "{num:>03}.{extension}" displays incorrectly

@gcfvfhg
Copy link
Author

gcfvfhg commented Jan 9, 2024

i use v1.26.6

@mikf
Copy link
Owner

mikf commented Jan 9, 2024

manga_id: 0

Which manga/chapter?

{num:>03}: None

Replace num with page.

@gcfvfhg
Copy link
Author

gcfvfhg commented Jan 9, 2024

gallery-dl -c "gallery-dl.conf" https*//bato.to/title/137479

configuration:

   "batoto":
   {
        "directory": ["{category}","{manga_id}","{chapter_id}"],
        "filename": "{page:>03}.{extension}"
   },

"\batoto\0\2471134\004.webp"

By the way, can I ask about num and page?
Can't num and page be replaced with each other?
Are there any differences between them?

In naver and exhentai, num is used

@mikf
Copy link
Owner

mikf commented Jan 9, 2024

There is no difference between num and page, it's just that manga/chapter extractors use page because I thought this name feels more "natural" for manga pages than num.

Can you change it in your config? Theoretically yes, but in reality no, not really.

@gcfvfhg
Copy link
Author

gcfvfhg commented Jan 9, 2024

thank you for your reply

Because num is also used in naverwebtoon, so I didn't think of it

I'm worried that I'm editing the configuration using the incorrect format.
Now that I understand, I will remember to try num and page in the future

thank you for your help

@mikf
Copy link
Owner

mikf commented Jan 9, 2024

You could use {num|page:>03}, which works with both num and page.

@mikf mikf closed this as completed Jan 10, 2024
bradenhilton pushed a commit to bradenhilton/gallery-dl that referenced this issue Feb 5, 2024
bradenhilton pushed a commit to bradenhilton/gallery-dl that referenced this issue Feb 5, 2024
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