Methods and Timing
This table applies to Java, Python and QuickJS; Node.js uses a separate HTTP endpoint.
Release your own sessions, WebSockets and background work in destroy. QuickJS waits at most 5 seconds (including promises) and then still disposes the engine.
Flow
init
Initialize
homeContent / home
Categories and filters
categoryContent / category
List and total pages
detailContent / detail
Details and episodes
playerContent / play
Final URL
searchContent and homeVideoContent are two other paths into details: search yields a list directly, while the App decides whether to show home recommendations.
Name mapping
Tip
Close every session, WebSocket and background thread you created in destroy. Without it, reloading a spider accumulates connections.