mirror of
https://github.com/bizhangjie/CatVodSpider.git
synced 2026-11-04 18:52:12 +00:00
'更新可用状态'
This commit is contained in:
1 parent
98052e227e
commit
e18dad42c6
4 files changed
+4
-4
No files matched your search
@@ -62,7 +62,7 @@ public class MainActivity extends Activity {
|
|||||||
private void initSpider() {
|
private void initSpider() {
|
||||||
try {
|
try {
|
||||||
Init.init(getApplicationContext());
|
Init.init(getApplicationContext());
|
||||||
spider = new CaoLiu();
|
spider = new Ikanbot();
|
||||||
spider.init(this, "");
|
spider.init(this, "");
|
||||||
} catch (Throwable e) {
|
} catch (Throwable e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
@@ -87,7 +87,7 @@ public class MainActivity extends Activity {
|
|||||||
|
|
||||||
public void categoryContent() {
|
public void categoryContent() {
|
||||||
try {
|
try {
|
||||||
Logger.t("categoryContent").d(spider.categoryContent("57", "1", true, new HashMap<>()));
|
Logger.t("categoryContent").d(spider.categoryContent("/index-movie", "1", true, new HashMap<>()));
|
||||||
} catch (Throwable e) {
|
} catch (Throwable e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ public class CaoLiu extends Spider {
|
|||||||
return headers;
|
return headers;
|
||||||
}
|
}
|
||||||
|
|
||||||
private static final int THREAD_POOL_SIZE = 15;
|
private static final int THREAD_POOL_SIZE = 20;
|
||||||
|
|
||||||
public List<Vod> parseHtml(Document document) {
|
public List<Vod> parseHtml(Document document) {
|
||||||
List<Vod> list = new ArrayList<>();
|
List<Vod> list = new ArrayList<>();
|
||||||
|
|||||||
Binary file not shown.
@@ -1 +1 @@
|
|||||||
a3d351085837f9fe500d507e5f146800
|
8cb2786a766726b2e2df931cf6c25e3e
|
||||||
Reference in new issue
Block a user