樊顺厚老师高数视频下载java脚本
package com.ideatech.hadoop; import org.junit.Test; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.net.MalformedURLException; import java.net.URL; import java.net.URLConnection; import java.util.concurrent.TimeUnit; /** * Created with IntelliJ IDEA. * User: pengjingqing * Date: 2020/4/27 Time: 2:34 PM * Email: aeolusjack@163.com * Description: */ public class VideoDownUtil { private String allUrls = "高等数学(一): d0.ananas.chaoxing.com/download/524292575370f687d061a4dd\n" + ":"+ "高等数学(二): d0.ananas.chaoxing.com/download/524292585370f687d061a4de\n" + ":"+ "高等数学(三): d0.ananas.chaoxing.com/download/524292585370f687d061a4df\n" + ":"+ "高等数学(四): d0.ananas.chaoxing.com/download/524292595370f687d061a4e0\n" + ":"+ "高等数学(五): d0.ananas.chaoxing.com/download/5242925a5370f687d061a4e1\n" + ":"+ "高等数学(六): d0.ananas.chaoxing.com/download/5242925b5370f687d061a4e2\n" + ":"+ "高等数学(七): d0.ananas.chaoxing.com/download/5242925b5370f687d061a4e3\n" + ":"+ "高等数学(八): d0.ananas.chaoxing.com/download/5242925c5370f687d061a4e4\n" + ":"+ "高等数学(九): d0.ananas.chaoxing.com/download/5242925d5370f687d061a4e5\n" + ":"+ "高等数学(十): d0.ananas.chaoxing.com/download/5242925e5370f687d061a4e6\n" + ":"+ "高等数学(十一): d0.ananas.chaoxing.com/download/5242925e5370f687d061a4e7\n" + ":"+ "高等数学(十二): d0.ananas.chaoxing.com/download/5242925f5370f687d061a4e8\n" + ":"+ "高等数学(十三): d0.ananas.chaoxing.com/download/524292605370f687d061a4e9\n" + ":"+ "高等数学(十四): d0.ananas.chaoxing.com/download/524292615370f687d061a4ea\n" + ":"+ "高等数学(十五): d0.ananas.chaoxing.com/download/524292625370f687d061a4eb\n" + ":"+ "高等数学(十六): d0.ananas.chaoxing.com/download/524292625370f687d061a4ec\n" + ":"+ "高等数学(十七): d0.ananas.chaoxing.com/download/524292635370f687d061a4ed\n" + ":"+ "高等数学(十八): d0.ananas.chaoxing.com/download/524292645370f687d061a4ee\n" + ":"+ "高等数学(十九): d0.ananas.chaoxing.com/download/524292655370f687d061a4ef\n" + ":"+ "高等数学(二十): d0.ananas.chaoxing.com/download/524292655370f687d061a4f0\n" + ":"+ "高等数学(二十一): d0.ananas.chaoxing.com/download/524292665370f687d061a4f1\n" + ":"+ "高等数学(二十二): d0.ananas.chaoxing.com/download/524292675370f687d061a4f2\n" + ":"+ "高等数学(二十三): d0.ananas.chaoxing.com/download/524292685370f687d061a4f3\n" + ":"+ "高等数学(二十四): d0.ananas.chaoxing.com/download/524292685370f687d061a4f4\n" + ":"+ "高等数学(二十五): d0.ananas.chaoxing.com/download/524292695370f687d061a4f5\n" + ":"+ "高等数学(二十六): d0.ananas.chaoxing.com/download/5242926a5370f687d061a4f6\n" + ":"+ "高等数学(二十七): d0.ananas.chaoxing.com/download/5242926a5370f687d061a4f7\n" + ":"+ "高等数学(二十八): d0.ananas.chaoxing.com/download/5242926c5370f687d061a4f8\n" + ":"+ "高等数学(二十九): d0.ananas.chaoxing.com/download/5242926c5370f687d061a4f9\n" + ":"+ "高等数学(三十): d0.ananas.chaoxing.com/download/5242926d5370f687d061a4fa\n" + ":"+ "高等数学(三十一): d0.ananas.chaoxing.com/download/5242926e5370f687d061a4fb\n" + ":"+ "高等数学(三十二): d0.ananas.chaoxing.com/download/5242926f5370f687d061a4fc\n" + ":"+ "高等数学(三十三): d0.ananas.chaoxing.com/download/524292705370f687d061a4fd\n" + ":"+ "高等数学(三十四): d0.ananas.chaoxing.com/download/524292715370f687d061a4fe\n" + ":"+ "高等数学(三十五): d0.ananas.chaoxing.com/download/524292725370f687d061a4ff\n" + ":"+ "高等数学(三十六): d0.ananas.chaoxing.com/download/524292735370f687d061a500\n" + ":"+ "高等数学(三十七): d0.ananas.chaoxing.com/download/524292745370f687d061a501\n" + ":"+ "高等数学(三十八): d0.ananas.chaoxing.com/download/524292745370f687d061a502\n" + ":"+ "高等数学(三十九): d0.ananas.chaoxing.com/download/524292755370f687d061a503\n" + ":"+ "高等数学(四十): d0.ananas.chaoxing.com/download/524292765370f687d061a504\n" + ":"+ "高等数学(四十一): d0.ananas.chaoxing.com/download/524292765370f687d061a505\n" + ":"+ "高等数学(四十二): d0.ananas.chaoxing.com/download/524292775370f687d061a506\n" + ":"+ "高等数学(四十三): d0.ananas.chaoxing.com/download/524292785370f687d061a507\n" + ":"+ "高等数学(四十四): d0.ananas.chaoxing.com/download/524292795370f687d061a508\n" + ":"+ "高等数学(四十五): d0.ananas.chaoxing.com/download/524292795370f687d061a509\n" + ":"+ "高等数学(四十六): d0.ananas.chaoxing.com/download/5242927a5370f687d061a50a\n" + ":"+ "高等数学(四十七): d0.ananas.chaoxing.com/download/5242927b5370f687d061a50b\n" + ":"+ "高等数学(四十八): d0.ananas.chaoxing.com/download/5242927c5370f687d061a50c\n" + ":"+ "高等数学(四十九): d0.ananas.chaoxing.com/download/5242927d5370f687d061a50d\n" + ":"+ "高等数学(五十): d0.ananas.chaoxing.com/download/5242927e5370f687d061a50e\n" + ":"+ "高等数学(五十一): d0.ananas.chaoxing.com/download/5242927e5370f687d061a50f\n" + ":"+ "高等数学(五十二): d0.ananas.chaoxing.com/download/5242927f5370f687d061a510\n" + ":"+ "高等数学(五十三): d0.ananas.chaoxing.com/download/524292805370f687d061a511\n" + ":"+ "高等数学(五十四): d0.ananas.chaoxing.com/download/524292815370f687d061a512\n" + ":"+ "高等数学(五十五): d0.ananas.chaoxing.com/download/524292815370f687d061a513\n" + ":"+ "高等数学(五十六): d0.ananas.chaoxing.com/download/524292825370f687d061a514\n" + ":"+ "高等数学(五十七): d0.ananas.chaoxing.com/download/524292835370f687d061a515\n" + ":"+ "高等数学(五十八): d0.ananas.chaoxing.com/download/524292845370f687d061a516\n" + ":"+ "高等数学(五十九): d0.ananas.chaoxing.com/download/524292845370f687d061a517\n" + ":"+ "高等数学(六十): d0.ananas.chaoxing.com/download/524292855370f687d061a518\n" + ":"+ "高等数学(六十一): d0.ananas.chaoxing.com/download/524292865370f687d061a519\n" + ":"+ "高等数学(六十二): d0.ananas.chaoxing.com/download/524292875370f687d061a51a\n" + ":"+ "高等数学(六十三): d0.ananas.chaoxing.com/download/524292875370f687d061a51b\n" + ":"+ "高等数学(六十四): d0.ananas.chaoxing.com/download/524292885370f687d061a51c\n" + ":"+ "高等数学(六十五): d0.ananas.chaoxing.com/download/524292895370f687d061a51d\n" + ":"+ "高等数学(六十六): d0.ananas.chaoxing.com/download/5242928a5370f687d061a51e\n" + ":"+ "高等数学(六十七): d0.ananas.chaoxing.com/download/5242928a5370f687d061a51f\n" + ":"+ "高等数学(六十八): d0.ananas.chaoxing.com/download/5242928b5370f687d061a520\n" + ":"+ "高等数学(六十九): d0.ananas.chaoxing.com/download/5242928c5370f687d061a521\n" + ":"+ "高等数学(七十): d0.ananas.chaoxing.com/download/5242928d5370f687d061a522\n" + ":"+ "高等数学(七十一): d0.ananas.chaoxing.com/download/5242928e5370f687d061a523\n" + ":"+ "高等数学(七十二): d0.ananas.chaoxing.com/download/5242928f5370f687d061a524\n" + ":"+ "高等数学(七十三): d0.ananas.chaoxing.com/download/524292905370f687d061a525\n" + ":"+ "高等数学(七十四): d0.ananas.chaoxing.com/download/524292905370f687d061a526\n" + ":"+ "高等数学(七十五): d0.ananas.chaoxing.com/download/524292915370f687d061a527\n" + ":"+ "高等数学(七十六): d0.ananas.chaoxing.com/download/524292925370f687d061a528\n" + ":"+ "高等数学(七十七): d0.ananas.chaoxing.com/download/524292935370f687d061a529\n" + ":"+ "高等数学(七十八): d0.ananas.chaoxing.com/download/524292935370f687d061a52a\n" + ":"+ "高等数学(七十九): d0.ananas.chaoxing.com/download/524292945370f687d061a52b\n" + ":"+ "高等数学(八十): d0.ananas.chaoxing.com/download/524292955370f687d061a52c\n" + ":"+ "高等数学(八十一): d0.ananas.chaoxing.com/download/524292965370f687d061a52d\n" + ":"+ "高等数学(八十二): d0.ananas.chaoxing.com/download/524292975370f687d061a52e\n" + ":"+ "高等数学(八十三): d0.ananas.chaoxing.com/download/524292975370f687d061a52f\n" + ":"+ "高等数学(八十四): d0.ananas.chaoxing.com/download/524292985370f687d061a530\n" + ":"+ "高等数学(八十五): d0.ananas.chaoxing.com/download/524292995370f687d061a531\n" + ":"+ "高等数学(八十六): d0.ananas.chaoxing.com/download/5242929a5370f687d061a532\n" + ":"+ "高等数学(八十七): d0.ananas.chaoxing.com/download/5242929a5370f687d061a533\n" + ":"+ "高等数学(八十八): d0.ananas.chaoxing.com/download/5242929b5370f687d061a534\n" + ":"+ "高等数学(八十九): d0.ananas.chaoxing.com/download/5242929c5370f687d061a535\n" + ":"+ "高等数学(九十): d0.ananas.chaoxing.com/download/5242929d5370f687d061a536\n" + ":"+ "高等数学(九十一): d0.ananas.chaoxing.com/download/5242929e5370f687d061a537\n" + ":"+ "高等数学(九十二): d0.ananas.chaoxing.com/download/5242929e5370f687d061a538\n" + ":"+ "高等数学(九十三): d0.ananas.chaoxing.com/download/5242929f5370f687d061a539\n" + ":"+ "高等数学(九十四): d0.ananas.chaoxing.com/download/524292bf5370f687d061a55d\n" + ":"+ "高等数学(九十五): d0.ananas.chaoxing.com/download/524292c05370f687d061a55e\n" + ":"+ "高等数学(九十六): d0.ananas.chaoxing.com/download/524292c25370f687d061a55f\n" + ":"+ "高等数学(九十七): d0.ananas.chaoxing.com/download/524292c35370f687d061a560\n" + ":"+ "高等数学(九十八): d0.ananas.chaoxing.com/download/524292c55370f687d061a561\n" + ":"+ "高等数学(九十九): d0.ananas.chaoxing.com/download/524292c65370f687d061a562\n" + ":"+ "高等数学(一百): d0.ananas.chaoxing.com/download/524292c65370f687d061a563\n" + ":"+ "高等数学(一百零一): d0.ananas.chaoxing.com/download/524292c75370f687d061a564\n" + ":"+ "高等数学(一百零二): d0.ananas.chaoxing.com/download/524292c85370f687d061a565\n" + ":"+ "高等数学(一百零三): d0.ananas.chaoxing.com/download/524292c95370f687d061a566\n" + ":"+ "高等数学(一百零四): d0.ananas.chaoxing.com/download/524292ca5370f687d061a567\n" + ":"+ "高等数学(一百零五): d0.ananas.chaoxing.com/download/524292cb5370f687d061a568\n" + ":"+ "高等数学(一百零六): d0.ananas.chaoxing.com/download/524292cc5370f687d061a569\n" + ":"+ "高等数学(一百零七): d0.ananas.chaoxing.com/download/524292cd5370f687d061a56a\n" + ":"+ "高等数学(一百零八): d0.ananas.chaoxing.com/download/524292ce5370f687d061a56b\n" + ":"+ "高等数学(一百零九): d0.ananas.chaoxing.com/download/524292cf5370f687d061a56c\n" + ":"+ "高等数学(一百一十): d0.ananas.chaoxing.com/download/524292d05370f687d061a56d\n" + ":"+ "高等数学(一百一十一): d0.ananas.chaoxing.com/download/524292d15370f687d061a56e\n" + ":"+ "高等数学(一百一十二): d0.ananas.chaoxing.com/download/524292d15370f687d061a56f\n" + ":"+ "高等数学(一百一十三): d0.ananas.chaoxing.com/download/524292d25370f687d061a570\n" + ":"+ "高等数学(一百一十四): d0.ananas.chaoxing.com/download/524292d35370f687d061a571\n" + ":"+ "高等数学(一百一十五): d0.ananas.chaoxing.com/download/524292d55370f687d061a572\n" + ":"+ "高等数学(一百一十六): d0.ananas.chaoxing.com/download/524292d55370f687d061a573\n" + ":"+ "高等数学(一百一十七): d0.ananas.chaoxing.com/download/524292d65370f687d061a574\n" + ":"+ "高等数学(一百一十八): d0.ananas.chaoxing.com/download/524393915370f687d061e472\n" + ":"+ "高等数学(一百一十九): d0.ananas.chaoxing.com/download/524393925370f687d061e473\n" + ":"+ "高等数学(一百二十): d0.ananas.chaoxing.com/download/524292d75370f687d061a575\n" + ":"+ "高等数学(一百二十一): d0.ananas.chaoxing.com/download/524292d85370f687d061a576\n" + ":"+ "高等数学(一百二十二): d0.ananas.chaoxing.com/download/524292d95370f687d061a577\n" + ":"+ "高等数学(一百二十三): d0.ananas.chaoxing.com/download/524292da5370f687d061a578\n" + ":"+ "高等数学(一百二十四): d0.ananas.chaoxing.com/download/524292dc5370f687d061a579\n" + ":"+ "高等数学(一百二十五): d0.ananas.chaoxing.com/download/524292dd5370f687d061a57a\n" + ":"+ "高等数学(一百二十六): d0.ananas.chaoxing.com/download/524292de5370f687d061a57b\n" + ":"+ "高等数学(一百二十七): d0.ananas.chaoxing.com/download/524292de5370f687d061a57c\n" + ":"+ "高等数学(一百二十八): d0.ananas.chaoxing.com/download/524292df5370f687d061a57d\n" + ":"+ "高等数学(一百二十九): d0.ananas.chaoxing.com/download/524292e05370f687d061a57e\n" + ":"+ "高等数学(一百三十): d0.ananas.chaoxing.com/download/524292e15370f687d061a57f\n" + ":"+ "高等数学(一百三十一): d0.ananas.chaoxing.com/download/524292e15370f687d061a580\n" + ":"+ "高等数学(一百三十二): d0.ananas.chaoxing.com/download/524292e25370f687d061a581\n" + ":"+ "高等数学(一百三十三): d0.ananas.chaoxing.com/download/524292e35370f687d061a582\n" + ":"+ "高等数学(一百三十四): d0.ananas.chaoxing.com/download/524292e45370f687d061a583\n" + ":"+ "高等数学(一百三十五): d0.ananas.chaoxing.com/download/524292e45370f687d061a584\n" + ":"+ "高等数学(一百三十六): d0.ananas.chaoxing.com/download/524292e55370f687d061a585\n" + ":"+ "高等数学(一百三十七): d0.ananas.chaoxing.com/download/524292e65370f687d061a586\n" + ":"+ "高等数学(一百三十八): d0.ananas.chaoxing.com/download/524292e75370f687d061a587\n" + ":"+ "高等数学(一百三十九): d0.ananas.chaoxing.com/download/524292e75370f687d061a588\n" + ":"+ "高等数学(一百四十): d0.ananas.chaoxing.com/download/524292e85370f687d061a589\n" + ":"+ "高等数学(一百四十一): d0.ananas.chaoxing.com/download/524292e95370f687d061a58a\n" + ":"+ "高等数学(一百四十二): d0.ananas.chaoxing.com/download/524292ea5370f687d061a58b\n" + ":"+ "高等数学(一百四十三): d0.ananas.chaoxing.com/download/524292eb5370f687d061a58c\n" + ":"+ "高等数学(一百四十四): d0.ananas.chaoxing.com/download/524292eb5370f687d061a58d\n" + ":"+ "高等数学(一百四十五): d0.ananas.chaoxing.com/download/524292ec5370f687d061a58e\n" + ":"+ "高等数学(一百四十六): d0.ananas.chaoxing.com/download/524292ed5370f687d061a58f\n" + ":"+ "高等数学(一百四十七): d0.ananas.chaoxing.com/download/524292ed5370f687d061a590\n" + ":"+ "高等数学(一百四十八): d0.ananas.chaoxing.com/download/524292ee5370f687d061a591\n" + ":"+ "高等数学(一百四十九): d0.ananas.chaoxing.com/download/524292ef5370f687d061a592\n" + ":"+ "高等数学(一百五十): d0.ananas.chaoxing.com/download/524292f05370f687d061a593\n" + ":"+ "高等数学(一百五十一): d0.ananas.chaoxing.com/download/524292f05370f687d061a594\n" + ":"+ "高等数学(一百五十二): d0.ananas.chaoxing.com/download/524292f15370f687d061a595\n" + ":"+ "高等数学(一百五十三): d0.ananas.chaoxing.com/download/524292f25370f687d061a596\n" + ":"+ "高等数学(一百五十四): d0.ananas.chaoxing.com/download/524292f35370f687d061a597\n" + ":"+ "高等数学(一百五十五): d0.ananas.chaoxing.com/download/524292f35370f687d061a598\n" + ":"+ "高等数学(一百五十六): d0.ananas.chaoxing.com/download/524292f45370f687d061a599\n" + ":"+ "高等数学(一百五十七): d0.ananas.chaoxing.com/download/524292f55370f687d061a59a\n" + ":"+ "高等数学(一百五十八): d0.ananas.chaoxing.com/download/524292f65370f687d061a59b\n" + ":"+ "高等数学(一百五十九): d0.ananas.chaoxing.com/download/524292f75370f687d061a59c\n" + ":"+ "高等数学(一百六十): d0.ananas.chaoxing.com/download/524292f75370f687d061a59d\n" + ":"+ "高等数学(一百六十一): d0.ananas.chaoxing.com/download/524292f85370f687d061a59e\n" + ":"+ "高等数学(一百六十二): d0.ananas.chaoxing.com/download/524292f95370f687d061a59f\n" + ":"+ "高等数学(一百六十三): d0.ananas.chaoxing.com/download/524292fa5370f687d061a5a0\n" + ":"+ "高等数学(一百六十四): d0.ananas.chaoxing.com/download/524292fa5370f687d061a5a1\n" + ":"+ "高等数学(一百六十五): d0.ananas.chaoxing.com/download/524292fb5370f687d061a5a2\n" + ":"+ "高等数学(一百六十六): d0.ananas.chaoxing.com/download/524292fc5370f687d061a5a3\n" + ":"+ "高等数学(一百六十七): d0.ananas.chaoxing.com/download/524292fd5370f687d061a5a4\n" + ":"+ "高等数学(一百六十八): d0.ananas.chaoxing.com/download/524292fd5370f687d061a5a5\n" + ":"+ "高等数学(一百六十九): d0.ananas.chaoxing.com/download/524292fe5370f687d061a5a6\n" + ":"+ "高等数学(一百七十): d0.ananas.chaoxing.com/download/524292ff5370f687d061a5a7\n" + ":"+ "高等数学(一百七十一): d0.ananas.chaoxing.com/download/524293005370f687d061a5a8\n" + ":"+ "高等数学(一百七十二): d0.ananas.chaoxing.com/download/524293015370f687d061a5a9\n" + ":"+ "高等数学(一百七十三): d0.ananas.chaoxing.com/download/524293015370f687d061a5aa\n" + ":"+ "高等数学(一百七十四): d0.ananas.chaoxing.com/download/524293025370f687d061a5ab\n" + ":"+ "高等数学(一百七十五): d0.ananas.chaoxing.com/download/524293035370f687d061a5ac\n" + ":"+ "高等数学(一百七十六): d0.ananas.chaoxing.com/download/524293045370f687d061a5ad\n" + ":"+ "高等数学(一百七十七): d0.ananas.chaoxing.com/download/524293045370f687d061a5ae\n" + ":"+ "高等数学(一百七十八): d0.ananas.chaoxing.com/download/524293055370f687d061a5af\n" + ":"+ "高等数学(一百七十九): d0.ananas.chaoxing.com/download/524293065370f687d061a5b0\n" + ":"+ "高等数学(一百八十): d0.ananas.chaoxing.com/download/524293075370f687d061a5b1\n" + ":"+ "高等数学(一百八十一): d0.ananas.chaoxing.com/download/524293075370f687d061a5b2\n" + ":"+ "高等数学(一百八十二): d0.ananas.chaoxing.com/download/524293085370f687d061a5b3\n" + ":"+ "高等数学(一百八十三): d0.ananas.chaoxing.com/download/524293095370f687d061a5b4\n" + ":"+ "高等数学(一百八十四): d0.ananas.chaoxing.com/download/5242930a5370f687d061a5b5\n" + ":"+ "多元函数微分法则及其应用(一): d0.ananas.chaoxing.com/download/5242930a5370f687d061a5b6\n" + ":"+ "多元函数微分法则及其应用(二): d0.ananas.chaoxing.com/download/524292a05370f687d061a53a\n" + ":"+ "多元函数微分法则及其应用(三): d0.ananas.chaoxing.com/download/524292a15370f687d061a53b\n" + ":"+ "多元函数微分法则及其应用(四): d0.ananas.chaoxing.com/download/524292a25370f687d061a53c\n" + ":"+ "多元函数基本概念(一): d0.ananas.chaoxing.com/download/524292a25370f687d061a53d\n" + ":"+ "多元函数基本概念(二): d0.ananas.chaoxing.com/download/524292a35370f687d061a53e\n" + ":"+ "多元函数基本概念(三): d0.ananas.chaoxing.com/download/524292a45370f687d061a53f\n" + ":"+ "多元函数基本概念(四): d0.ananas.chaoxing.com/download/524292a55370f687d061a540\n" + ":"+ "偏导数(一): d0.ananas.chaoxing.com/download/524292a65370f687d061a541\n" + ":"+ "偏导数(二): d0.ananas.chaoxing.com/download/524292a65370f687d061a542\n" + ":"+ "全微分(一): d0.ananas.chaoxing.com/download/524292a75370f687d061a543\n" + ":"+ "全微分(二): d0.ananas.chaoxing.com/download/524292a85370f687d061a544\n" + ":"+ "多元复合函数求导法则(一): d0.ananas.chaoxing.com/download/524292a95370f687d061a545\n" + ":"+ "多元复合函数求导法则(二): d0.ananas.chaoxing.com/download/524292a95370f687d061a546\n" + ":"+ "全微分的不变性(一): d0.ananas.chaoxing.com/download/524292aa5370f687d061a547\n" + ":"+ "全微分的不变性(二): d0.ananas.chaoxing.com/download/524292ab5370f687d061a548\n" + ":"+ "隐函数求导公式(一): d0.ananas.chaoxing.com/download/524292ac5370f687d061a549\n" + ":"+ "隐函数求导公式(二): d0.ananas.chaoxing.com/download/524292ad5370f687d061a54a\n" + ":"+ "隐函数求导公式(三): d0.ananas.chaoxing.com/download/524292ad5370f687d061a54b\n" + ":"+ "隐函数求导公式(四): d0.ananas.chaoxing.com/download/524292ae5370f687d061a54c\n" + ":"+ "方向导数与梯度(一): d0.ananas.chaoxing.com/download/524292af5370f687d061a54d\n" + ":"+ "方向导数与梯度(二): d0.ananas.chaoxing.com/download/524292b05370f687d061a54e\n" + ":"+ "方向导数与梯度(三): d0.ananas.chaoxing.com/download/524292b15370f687d061a54f\n" + ":"+ "方向导数与梯度(四): d0.ananas.chaoxing.com/download/524292b15370f687d061a550\n" + ":"+ "多元函数极值及其求法(一): d0.ananas.chaoxing.com/download/524292b25370f687d061a551\n" + ":"+ "多元函数极值及其求法(二): d0.ananas.chaoxing.com/download/524292b35370f687d061a552\n" + ":"+ "多元函数极值及其求法(三): d0.ananas.chaoxing.com/download/524292b45370f687d061a553\n" + ":"+ "多元函数极值及其求法(四): d0.ananas.chaoxing.com/download/524292b55370f687d061a554\n" + ":"+ "对坐标的曲面积分(一): d0.ananas.chaoxing.com/download/524292b65370f687d061a555\n" + ":"+ "对坐标的曲面积分(二): d0.ananas.chaoxing.com/download/524292b75370f687d061a556\n" + ":"+ "对坐标的曲面积分(三): d0.ananas.chaoxing.com/download/524292b95370f687d061a557\n" + ":"+ "对坐标的曲面积分(四): d0.ananas.chaoxing.com/download/524292b95370f687d061a558\n" + ":"+ "对坐标的曲面积分(五): d0.ananas.chaoxing.com/download/524292bb5370f687d061a559\n" + ":"+ "对坐标的曲面积分(六): d0.ananas.chaoxing.com/download/524292bc5370f687d061a55a\n" + ":"+ "对坐标的曲面积分(七): d0.ananas.chaoxing.com/download/524292bd5370f687d061a55b\n" + ":"+ "对坐标的曲面积分(八): d0.ananas.chaoxing.com/download/524292be5370f687d061a55c\n" + ":"+ "曲线积分与曲面积分(一): d0.ananas.chaoxing.com/download/5242930b5370f687d061a5b7\n" + ":"+ "曲线积分与曲面积分(二): d0.ananas.chaoxing.com/download/5242930c5370f687d061a5b8\n" + ":"+ "曲面积分与空间曲线之间的关系(一): d0.ananas.chaoxing.com/download/5242930d5370f687d061a5b9\n" + ":"+ "曲面积分与空间曲线之间的关系(二): d0.ananas.chaoxing.com/download/5242930e5370f687d061a5ba\n" + ":"+ "习题课(一): d0.ananas.chaoxing.com/download/5242930e5370f687d061a5bb\n" + ":"+ "习题课(二): d0.ananas.chaoxing.com/download/5242930f5370f687d061a5bc\n" + ":"+ "习题课(三): d0.ananas.chaoxing.com/download/524293105370f687d061a5bd\n" + ":"+ "无穷级数(一): d0.ananas.chaoxing.com/download/524293115370f687d061a5be\n" + ":"+ "无穷级数(二): d0.ananas.chaoxing.com/download/524293125370f687d061a5bf\n" + ":"+ "无穷级数(三): d0.ananas.chaoxing.com/download/524293135370f687d061a5c0\n" + ":"+ "常数项级数的审敛法(一): d0.ananas.chaoxing.com/download/524293285370f687d061a5db\n" + ":"+ "常数项级数的审敛法(二): d0.ananas.chaoxing.com/download/524293295370f687d061a5dc\n" + ":"+ "常数项级数的审敛法(三): d0.ananas.chaoxing.com/download/5242932a5370f687d061a5dd\n" + ":"+ "常数项级数的审敛法(四): d0.ananas.chaoxing.com/download/5242932a5370f687d061a5de\n" + ":"+ "常数项级数的审敛法(五): d0.ananas.chaoxing.com/download/5242932b5370f687d061a5df\n" + ":"+ "常数项级数的审敛法(六): d0.ananas.chaoxing.com/download/5242932c5370f687d061a5e0\n" + ":"+ "常数项级数的审敛法(七): d0.ananas.chaoxing.com/download/5242932d5370f687d061a5e1\n" + ":"+ "常数项级数的审敛法(八): d0.ananas.chaoxing.com/download/5242932d5370f687d061a5e2\n" + ":"+ "幂级数(一): d0.ananas.chaoxing.com/download/5242932e5370f687d061a5e3\n" + ":"+ "幂级数(二): d0.ananas.chaoxing.com/download/5242932f5370f687d061a5e4\n" + ":"+ "幂级数(三): d0.ananas.chaoxing.com/download/524293305370f687d061a5e5\n" + ":"+ "幂级数(四): d0.ananas.chaoxing.com/download/524293305370f687d061a5e6\n" + ":"+ "习题(五): d0.ananas.chaoxing.com/download/524293315370f687d061a5e7\n" + ":"+ "习题(六): d0.ananas.chaoxing.com/download/524293325370f687d061a5e8\n" + ":"+ "习题(七): d0.ananas.chaoxing.com/download/524293335370f687d061a5e9\n" + ":"+ "习题(八): d0.ananas.chaoxing.com/download/524293335370f687d061a5ea\n" + ":"+ "函数展开成幂级数(一): d0.ananas.chaoxing.com/download/524293345370f687d061a5eb\n" + ":"+ "函数展开成幂级数(二): d0.ananas.chaoxing.com/download/524293355370f687d061a5ec\n" + ":"+ "函数展开成幂级数(三): d0.ananas.chaoxing.com/download/524293365370f687d061a5ed\n" + ":"+ "傅里叶级数(一): d0.ananas.chaoxing.com/download/524293375370f687d061a5ee\n" + ":"+ "傅里叶级数(二): d0.ananas.chaoxing.com/download/524293375370f687d061a5ef\n" + ":"+ "傅里叶级数(三): d0.ananas.chaoxing.com/download/524293385370f687d061a5f0\n" + ":"+ "傅里叶级数(四): d0.ananas.chaoxing.com/download/524293395370f687d061a5f1\n" + ":"+ "习题课(九): d0.ananas.chaoxing.com/download/524293395370f687d061a5f2\n" + ":"+ "习题课(十): d0.ananas.chaoxing.com/download/5242933a5370f687d061a5f3\n" + ":"+ "习题课(十一): d0.ananas.chaoxing.com/download/5242933b5370f687d061a5f4\n" + ":"+ "习题课(十二): d0.ananas.chaoxing.com/download/5242933c5370f687d061a5f5\n" + ":"+ "习题课(十三): d0.ananas.chaoxing.com/download/5242933c5370f687d061a5f6\n" + ":"+ "习题课(十四): d0.ananas.chaoxing.com/download/5242933d5370f687d061a5f7\n" + ":"+ "习题课(十五): d0.ananas.chaoxing.com/download/5242933e5370f687d061a5f8\n" + ":"+ "习题课(十六): d0.ananas.chaoxing.com/download/5242933f5370f687d061a5f9\n" + ":"+ "微分方程(三): d0.ananas.chaoxing.com/download/524293405370f687d061a5fa\n" + ":"+ "微分方程(四): d0.ananas.chaoxing.com/download/524293405370f687d061a5fb\n" + ":"+ "微分方程(一): d0.ananas.chaoxing.com/download/524293415370f687d061a5fc\n" + ":"+ "微分方程(二): d0.ananas.chaoxing.com/download/524293425370f687d061a5fd\n" + ":"+ "齐次方程(一): d0.ananas.chaoxing.com/download/524293435370f687d061a5fe\n" + ":"+ "齐次方程(二): d0.ananas.chaoxing.com/download/524293445370f687d061a5ff\n" + ":"+ "齐次方程(三): d0.ananas.chaoxing.com/download/524293455370f687d061a600\n" + ":"+ "齐次方程(四): d0.ananas.chaoxing.com/download/524293455370f687d061a601\n" + ":"+ "习题课(十七): d0.ananas.chaoxing.com/download/524293465370f687d061a602\n" + ":"+ "习题课(十八): d0.ananas.chaoxing.com/download/524293475370f687d061a603\n" + ":"+ "习题课(十九): d0.ananas.chaoxing.com/download/524293475370f687d061a604\n" + ":"+ "习题课(二十): d0.ananas.chaoxing.com/download/524293485370f687d061a605\n" + ":"+ "可降阶的微分方程(一): d0.ananas.chaoxing.com/download/524293495370f687d061a606\n" + ":"+ "可降阶的微分方程(二): d0.ananas.chaoxing.com/download/5242934a5370f687d061a607\n" + ":"+ "高阶线性微分方程(一): d0.ananas.chaoxing.com/download/5242934b5370f687d061a608\n" + ":"+ "高阶线性微分方程(二): d0.ananas.chaoxing.com/download/5242934b5370f687d061a609\n" + ":"+ "高阶线性方程解的结构(一): d0.ananas.chaoxing.com/download/5242934c5370f687d061a60a\n" + ":"+ "高阶线性方程解的结构(二): d0.ananas.chaoxing.com/download/5242934d5370f687d061a60b\n" + ":"+ "高阶线性方程解的结构(三): d0.ananas.chaoxing.com/download/5242934e5370f687d061a60c\n" + ":"+ "高阶线性方程解的结构(四): d0.ananas.chaoxing.com/download/5242934f5370f687d061a60d\n" + ":"+ "常系数非齐次线性微分方程(一): d0.ananas.chaoxing.com/download/5242934f5370f687d061a60e\n" + ":"+ "常系数非齐次线性微分方程(二): d0.ananas.chaoxing.com/download/524293505370f687d061a60f\n" + ":"+ "常系数非齐次线性微分方程(三): d0.ananas.chaoxing.com/download/524293515370f687d061a610\n" + ":"+ "常系数非齐次线性微分方程(四): d0.ananas.chaoxing.com/download/524293525370f687d061a611\n" + ":"+ "习题课(二十一): d0.ananas.chaoxing.com/download/524293525370f687d061a612\n" + ":"+ "习题课(二十二): d0.ananas.chaoxing.com/download/524293535370f687d061a613\n" + ":"+ "习题课(二十三): d0.ananas.chaoxing.com/download/524293545370f687d061a614"; public static boolean httpDownload(String httpUrl, String saveFile) { // 1.下载网络文件 int byteRead; URL url; try { url = new URL(httpUrl); } catch (MalformedURLException e1) { e1.printStackTrace(); return false; } try { //2.获取链接 URLConnection conn = url.openConnection(); //3.输入流 InputStream inStream = conn.getInputStream(); //3.写入文件 FileOutputStream fs = new FileOutputStream(saveFile); byte[] buffer = new byte[1024]; while ((byteRead = inStream.read(buffer)) != -1) { fs.write(buffer, 0, byteRead); } inStream.close(); fs.close(); return true; } catch (FileNotFoundException e) { e.printStackTrace(); return false; } catch (IOException e) { e.printStackTrace(); return false; } } @Test public void httpDownload() throws InterruptedException { String[] split = allUrls.split(":"); String name = ""; // BlockingQueue<Runnable> queue = new ArrayBlockingQueue<>(400); // // ThreadPoolExecutor pool = new ThreadPoolExecutor(4, 5, 60, TimeUnit.MICROSECONDS, queue); for (int i = 0; i < split.length; i++) { if (i%2 == 0){ name = split[i].trim(); }else { System.out.println(name); String trim = split[i].trim(); System.out.println("下载地址为: "+trim); TimeUnit.MILLISECONDS.sleep(10000); httpDownload("http://"+trim,"/Users/pengjingqing/Desktop/mathHighFanShunhou/"+name+".mp4"); // Runnable task = new CustomTask(i,"",name); // pool.execute(task); } } // pool.shutdown(); } }
天行健君子以自强不息地势坤