- Replace monolithic extraction with modular methods for better maintainability
- Add support for decoding obfuscated player payloads (atob, XOR encryption)
- Implement robust JSON parsing with loose parsing and trailing comma handling
- Add regex patterns for season/episode number extraction
- Improve handling of nested series structures with multiple seasons
Update ResolveMalId method to accept and process a source parameter, enabling different resolution logic for tmdb and hikka sources. TMDB source now returns null, while HIKKA source uses kinopoiskId when available.
- Add ResolveMalId helper to resolve effective MAL ID from mal_id or kinopoisk_id
- Remove original_title from Search method signature and cache keys
- Simplify BuildSearchUrl to prioritize query parameters (mal_id > imdb_id > title)