mirror of
https://github.com/Shineii86/AniKotoAPI.git
synced 2026-10-22 10:55:10 +00:00
fix: update extractors to match actual anikototv.to structure
- Analyzed actual HTML structure of anikototv.to - Updated all extractors with correct CSS selectors - Changed ID-based to slug-based lookups - Updated URL patterns to match actual website - Fixed stream info to use AJAX server list - Improved error handling
This commit is contained in:
@@ -5,7 +5,7 @@ const getAnimeInfo = async (req, res, next) => {
|
||||
try {
|
||||
const { id } = req.query;
|
||||
if (!id) {
|
||||
return res.status(400).json({ success: false, message: "Anime ID is required" });
|
||||
return res.status(400).json({ success: false, message: "Anime slug is required" });
|
||||
}
|
||||
|
||||
const cacheKey = `anime_${id}`;
|
||||
|
||||
Reference in New Issue
Block a user