forked from mangal/mangal-scrapers
Merge augustohp/up into main #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "augustohp/up"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
AsuraScans moved from the old WordPress theme to a Next.js SSR app, which removed the previous selectors and made the headless path unreliable in devcontainers. Switch the scraper to pure HTTP fetching. Search now queries the series listing and extracts titles from series links. Chapter discovery parses the scrollable chapter list and normalizes relative URLs. Page URLs are recovered from the Next.js RSC flight payload via regex, then sorted and deduplicated. This avoids requiring Chromium while keeping results stable. Testing and expectations Clear cached data first. ./mangal clear --cache && ./mangal clear --anilist Basic search should return exit code 0 and JSON with the manga name and URL. ./mangal inline --source AsuraScans \ --query "Greatest Estate Developer" --json Full pipeline should populate chapters and pages. ./mangal inline --source AsuraScans \ --query "Greatest Estate Developer" \ --manga first --chapters first \ --json --populate-pages Expected result is one match named "The Greatest Estate Developer", about 222 chapters, about 19-20 pages per chapter, and image URLs served from gg.asuracomic.net.