|
@@ -96,7 +96,7 @@ if let url = URL(string: "http://hubgit.cn/ben/be-ytb/raw/master/js/info.js") {
|
|
|
case .success(let jsString):
|
|
|
print("下载远程JS成功")
|
|
|
ctx.evaluateScript(jsString)
|
|
|
- testDetail(url: "https://www.youtube.com/watch?v=IXuhdnB2dAY", ctx: ctx)
|
|
|
+ testDetail(url: "https://www.youtube.com/watch?v=5GJWxDKyk3A", ctx: ctx)
|
|
|
// testSearch(keyword: "周杰伦", ctx: ctx)
|
|
|
case .failure(let error):
|
|
|
print("Download Error: \(error)")
|