Inbox (technical)
Bugs, ideas, questions and suggestions about MangaBaka.
link domains - different types by path segment
## The problem
Automate assigning links to viz.com based on their path, separating between Publisher and Webplatform types. We ingest almost all of these links from upstream, so this would save extra manual work.
## The idea
Provide a mechanism to apply a different default type depending on the presence of specific path segments. In the test case of VIZ, all URLs with /chapters/ point to the `webplatform` pages where you can read the series online/in their app, while pages without that segment would be `publisher` type. For example with Tonikawa, https://www.viz.com/vizmanga/chapters/fly-me-to-the-moon vs https://www.viz.com/fly-me-to-the-moon
According to https://mangabaka.org/data/submissions/link-domains/019dbbde-7323-7f84-912f-1bd2d88c2ffd/links, we currently have 1199 viz.com links with 453 of them being for the webplatform.
Comments
Loading comments...