|
|
|
@ -2,6 +2,7 @@ package com.fongmi.android.tv.api.loader; |
|
|
|
|
|
|
|
|
|
|
|
import com.fongmi.android.tv.App; |
|
|
|
import com.fongmi.android.tv.App; |
|
|
|
import com.fongmi.quickjs.crawler.Loader; |
|
|
|
import com.fongmi.quickjs.crawler.Loader; |
|
|
|
|
|
|
|
import com.fongmi.quickjs.utils.Module; |
|
|
|
import com.github.catvod.crawler.Spider; |
|
|
|
import com.github.catvod.crawler.Spider; |
|
|
|
import com.github.catvod.crawler.SpiderNull; |
|
|
|
import com.github.catvod.crawler.SpiderNull; |
|
|
|
|
|
|
|
|
|
|
|
@ -21,6 +22,7 @@ public class JsLoader { |
|
|
|
|
|
|
|
|
|
|
|
public void clear() { |
|
|
|
public void clear() { |
|
|
|
spiders.values().forEach(Spider::destroy); |
|
|
|
spiders.values().forEach(Spider::destroy); |
|
|
|
|
|
|
|
Module.get().clear(); |
|
|
|
spiders.clear(); |
|
|
|
spiders.clear(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|