|
首先申明:
1、我是菜鸟!
2、相关知识是从网络上学习来的!
3、要学习HTML相关的一点知识,不需要太深的,一点标签相关知识就可以了。
4、本人喜欢评书,有相同爱好的同志可以联系:QQ:913630034
准备工作:火车采集器、dotnetfx.exe
打开http://www.locoy.com/Down/,下载火车采集器V7.7正式版免费版,是一个RAR压缩包,解压到一个文件夹中。打开主程序LocoyPlatform.exe,如果运行提示错误,下载dotnetfx.exe,地址如下:
http://download.microsoft.com/download/5/6/7/567758a3-759e-473e-bf8f-52154438565a/dotnetfx.exe
安装dotnetfx.exe,完毕后,再次打开LocoyPlatform.exe,就可以正常运行了。
今天我们要采集我听评书网相关东东,网址:http://www.5tps.com
打开http://www.5tps.com,分析得知其地址为:http://www.5tps.com/html/*.html,“*”是代表1-9807具体数字,我们试试看。可能有少数地址没有!
http://www.5tps.com/html/1.html 是评书花木兰(90回)
用的是虚拟机,网络老是时断时行的。不影响操作
http://www.5tps.com/html/211.html 是评书野火春风斗古城全80回
……………………………………………………………………
http://www.5tps.com/html/9087.html 是有声小说,每周一堂经济课36集
通过分析得到下载页面:
http://www.5tps.com//downct/1_46_1_1.html至http://www.5tps.com//downct/1_46_1_90.html
http://www.5tps.com//downct/211_47_1_1.html至http://www.5tps.com//downct/211_47_1_80.html
……………………………………………………………………
http://www.5tps.com//downct/9807_52_1_1.html至http://www.5tps.com//downct/9807_52_1_69.html
大家会发现:改变的有三个方面,以http://www.5tps.com/html/1.html的下载页面为例:
http://www.5tps.com//downct/1_46_1_1.html
……………………………………………………………………
http://www.5tps.com//downct/1_46_1_90.html
http://www.5tps.com//downct/*_*_1_*.html,我分别是三个“*”表示
其中第一“*”控制具体是“哪一部有声小说”,第二“*”我不太明白,也不需要明白,第三“*”是控制“哪一部有声小说的哪一集”,我也不知道说明白了没有。
我们今天要采集是评书的:“标题”、“类别”、“播音”、“状态”、“时间”、“介绍”、“音频下载地址”
下面以http://www.5tps.com/html/211.html 为例进行讲解,先看看我做好的采集规则采集的效果:
【标题】:野火春风斗古城 全80回
【类别】:袁阔成
【作者】:袁阔成
【状态】:全集
【时间】:2009-11-9
【介绍】:
<p>1943年,游击队政委杨晓冬化装进入华北某古城,在地下交通员金环、银环姐妹的配合下,开展瓦解伪治安军的工作。游击队在一次伏击中俘获了伪治安军团长关敬陶,对他进行教育后将其放还。关敬陶被释放后,引起了日军顾问多田和伪军司令高大成的怀疑,他们让被叛徒高自萍出卖被捕的金环与关敬陶对质。为替关卸脱责任,金环英勇就义。此后,又因高自萍的出卖,杨晓冬和母亲也被捕。高大成想利用母子之情软化杨晓冬,从而将城里的地下党组织一网打尽。杨母为免除儿子的后顾之忧,完成革命重任,便坠楼而死。这一切给关敬陶以强烈的震动。银环和韩燕来等地下党员在武工队的配合下,冒险从狱中救出杨晓冬。为完成争取关敬陶、瓦解治安军的任务,杨晓冬仍在城里隐蔽下来。他和银环登门拜访关敬陶,申明民族大义,促使关下定了起义的决心。在高大成下令伪军出城抢粮之时,杨晓冬和关敬陶消灭了前来监视的特务队长,带领起义部队上山。杨晓冬和银环也在斗争中产生了真挚的爱情。<br>…</p>
【下载地址】:http://163pse-d.Ysx8.com:8000/袁阔成/2009/野火春风斗古城/001.mp3?1251758932728x1368512612x1251759545482-5853ed50e911231727ddce80a232751d
【集数】:[第001回][第002回][第003回][第004回][第005回][第006回][第007回][第008回][第009回][第010回][第011回][第012回][第013回][第014回][第015回][第016回][第017回][第018回][第019回][第020回][第021回][第022回][第023回][第024回][第025回][第026回][第027回][第028回][第029回][第030回][第031回][第032回][第033回][第034回][第035回][第036回][第037回][第038回][第039回][第040回][第041回][第042回][第043回][第044回][第045回][第046回][第047回][第048回][第049回][第050回][第051回][第052回][第053回][第054回][第055回][第056回][第057回][第058回][第059回][第060回][第061回][第062回][第063回][第064回][第065回][第066回][第067回][第068回][第069回][第070回][第071回][第072回][第073回][第074回][第075回][第076回][第077回][第078回][第079回][第080回]
需要说明的是“下载地址”采集的内容是该评书的第一集的下载地址,那么第80集的地址呢?是:http://163pse-d.Ysx8.com:8000/袁阔成/2009/野火春风斗古城/080.mp3?1251758932728x1368512612x1251759545482-5853ed50e911231727ddce80a232751d“集数”采集内容需要用excel处理一下,用到的函数是“RIGHTB”。
“?1251758932728x1368512612x1251759545482-5853ed50e911231727ddce80a232751d”,“?”号以后的内容是由网站动态产生的,每次都是不一样的,我们在下载过程中会发现,采集完毕后长时间不下载,就下载不了,需要重新采集“?”后面的内容即可。
大家会发现什么规律呢?对,即http://163pse-d.Ysx8.com:8000/袁阔成/2009/野火春风斗古城/不变,把“001.mp3”改为“080.mp3”,用软件下载时,用一下批处理即可,是不是很方便。
该网站大部分都可以这样批量处理的,但也有例外的,如相声小品,需要一集一集的采集的。
一次采集全部地址的规则我也制作出来的,看演示:
【标题】:野火春风斗古城 全80回
【类别】:袁阔成
【作者】:袁阔成
【状态】:全集
【时间】:2009-11-9
【介绍】:
<p>1943年,游击队政委杨晓冬化装进入华北某古城,在地下交通员金环、银环姐妹的配合下,开展瓦解伪治安军的工作。游击队在一次伏击中俘获了伪治安军团长关敬陶,对他进行教育后将其放还。关敬陶被释放后,引起了日军顾问多田和伪军司令高大成的怀疑,他们让被叛徒高自萍出卖被捕的金环与关敬陶对质。为替关卸脱责任,金环英勇就义。此后,又因高自萍的出卖,杨晓冬和母亲也被捕。高大成想利用母子之情软化杨晓冬,从而将城里的地下党组织一网打尽。杨母为免除儿子的后顾之忧,完成革命重任,便坠楼而死。这一切给关敬陶以强烈的震动。银环和韩燕来等地下党员在武工队的配合下,冒险从狱中救出杨晓冬。为完成争取关敬陶、瓦解治安军的任务,杨晓冬仍在城里隐蔽下来。他和银环登门拜访关敬陶,申明民族大义,促使关下定了起义的决心。在高大成下令伪军出城抢粮之时,杨晓冬和关敬陶消灭了前来监视的特务队长,带领起义部队上山。杨晓冬和银环也在斗争中产生了真挚的爱情。<br>…</p>
【下载地址】:http://163pse-d.Ysx8.com:8000/袁阔成/2009/野火春风斗古城/001.mp3?1251758935863x1368515747x1251759548617-9cc146102dbe4e92ba620527bf2e1f7c
http://163pse-d.Ysx8.com:8000/袁阔成/2009/野火春风斗古城/002.mp3?1251758935864x1368515748x1251759548618-02d64be67cb54475e1ceb76f0935e6c1
http://163pse-d.Ysx8.com:8000/袁阔成/2009/野火春风斗古城/003.mp3?1251758935864x1368515748x1251759548618-c53d105c571d4022d1863b1f3cf27d24
http://163pse-d.Ysx8.com:8000/袁阔成/2009/野火春风斗古城/004.mp3?1251758935865x1368515749x1251759548619-8137060d771850574086d9a0b0ea97c1
http://163pse-d.Ysx8.com:8000/袁阔成/2009/野火春风斗古城/005.mp3?1251758935865x1368515749x1251759548619-cdeab5c27e249c2e33ee8813664486fa
http://163pse-d.Ysx8.com:8000/袁阔成/2009/野火春风斗古城/006.mp3?1251758935865x1368515749x1251759548619-667377ead4c51b6366b09ecde6f47ced
http://163pse-d.Ysx8.com:8000/袁阔成/2009/野火春风斗古城/007.mp3?1251758935866x1368515750x1251759548620-f99e22cfaefd88ba639235c671a800dc
http://163pse-d.Ysx8.com:8000/袁阔成/2009/野火春风斗古城/008.mp3?1251758935866x1368515750x1251759548620-d26d88e51b2ece3eed8fb18a9e33238b
http://163pse-d.Ysx8.com:8000/袁阔成/2009/野火春风斗古城/009.mp3?1251758935866x1368515750x1251759548620-549c7014a575c891e7406c1b2908dd55
http://163pse-d.Ysx8.com:8000/袁阔成/2009/野火春风斗古城/010.mp3?1251758935867x1368515751x1251759548621-a93f0133287ad9bd8b236e28cac78077
http://163pse-d.Ysx8.com:8000/袁阔成/2009/野火春风斗古城/011.mp3?1251758935868x1368515752x1251759548622-9e8ced714d573e4c949d9ec1c975d4b9
http://163pse-d.Ysx8.com:8000/袁阔成/2009/野火春风斗古城/012.mp3?1251758935868x1368515752x1251759548622-ce1a61567b8d6f3e77ba029014d6c432
http://163pse-d.Ysx8.com:8000/袁阔成/2009/野火春风斗古城/013.mp3?1251758935868x1368515752x1251759548622-1e0c31dbd2795c94557064e10c44144c
http://163pse-d.Ysx8.com:8000/袁阔成/2009/野火春风斗古城/014.mp3?1251758935869x1368515753x1251759548623-7ce49906750fac05f44c90d5f0bcf147
http://163pse-d.Ysx8.com:8000/袁阔成/2009/野火春风斗古城/015.mp3?1251758935869x1368515753x1251759548623-a900ed82f9e56ab767109910d1ad198e
http://163pse-d.Ysx8.com:8000/袁阔成/2009/野火春风斗古城/016.mp3?1251758935870x1368515754x1251759548624-c171e9e9b4c5bd3e5e9e9cd5594717a7
http://163pse-d.Ysx8.com:8000/袁阔成/2009/野火春风斗古城/017.mp3?1251758935870x1368515754x1251759548624-8bf2fe11577b4e07a99b993fc45f78e6
http://163pse-d.Ysx8.com:8000/袁阔成/2009/野火春风斗古城/018.mp3?1251758935870x1368515754x1251759548624-7962323a235a14c9d4c79cb7719d3809
http://163pse-d.Ysx8.com:8000/袁阔成/2009/野火春风斗古城/019.mp3?1251758935871x1368515755x1251759548625-c2aceb14e5448028ce2771959a2d646b
http://163pse-d.Ysx8.com:8000/袁阔成/2009/野火春风斗古城/020.mp3?1251758935871x1368515755x1251759548625-94c187f84255b6a7a923b110330d50a3
http://163pse-d.Ysx8.com:8000/袁阔成/2009/野火春风斗古城/021.mp3?1251758935872x1368515756x1251759548626-2dae1f7e13c21f46f30047bbe5abe5d4
http://163pse-d.Ysx8.com:8000/袁阔成/2009/野火春风斗古城/022.mp3?1251758935872x1368515756x1251759548626-66732edb43550dd372aa00b6f163a216
http://163pse-d.Ysx8.com:8000/袁阔成/2009/野火春风斗古城/023.mp3?1251758935873x1368515757x1251759548627-4991d07d29856d626690d21bb99f54d6
http://163pse-d.Ysx8.com:8000/袁阔成/2009/野火春风斗古城/024.mp3?1251758935873x1368515757x1251759548627-8c743b235d598c117d0b0840f3b52e93
http://163pse-d.Ysx8.com:8000/袁阔成/2009/野火春风斗古城/025.mp3?1251758935877x1368515761x1251759548631-86511f5bdb73c9b83d69edf231ed65ed
http://163pse-d.Ysx8.com:8000/袁阔成/2009/野火春风斗古城/026.mp3?1251758935877x1368515761x1251759548631-cd8c51d2b3b866b8c023590ec184a0da
http://163pse-d.Ysx8.com:8000/袁阔成/2009/野火春风斗古城/027.mp3?1251758935878x1368515762x1251759548632-e57747fbef313de40e84cf8ea4109cd6
http://163pse-d.Ysx8.com:8000/袁阔成/2009/野火春风斗古城/028.mp3?1251758935878x1368515762x1251759548632-05061a038fe70ed462a29c3b03fc996d
http://163pse-d.Ysx8.com:8000/袁阔成/2009/野火春风斗古城/029.mp3?1251758935879x1368515763x1251759548633-0c17286d85c73538ee1223147dfdef62
http://163pse-d.Ysx8.com:8000/袁阔成/2009/野火春风斗古城/030.mp3?1251758935879x1368515763x1251759548633-6fcd1abd822034e8777257b3f0b1481a
http://163pse-d.Ysx8.com:8000/袁阔成/2009/野火春风斗古城/031.mp3?1251758935879x1368515763x1251759548633-920a8c2021b78cd3a2966d8a2412c5e2
http://163pse-d.Ysx8.com:8000/袁阔成/2009/野火春风斗古城/032.mp3?1251758935880x1368515764x1251759548634-0798cd5f7fe4def27bdf89ea9dd99ecd
http://163pse-d.Ysx8.com:8000/袁阔成/2009/野火春风斗古城/033.mp3?1251758935880x1368515764x1251759548634-72bdbdb683ac8bf7d74897e847c79a0a
http://163pse-d.Ysx8.com:8000/袁阔成/2009/野火春风斗古城/034.mp3?1251758935880x1368515764x1251759548634-80b137414c8f367f5bb20eac4dda89b8
http://163pse-d.Ysx8.com:8000/袁阔成/2009/野火春风斗古城/035.mp3?1251758935881x1368515765x1251759548635-756c17d3350ab8c7adae676240e839d2
http://163pse-d.Ysx8.com:8000/袁阔成/2009/野火春风斗古城/036.mp3?1251758935881x1368515765x1251759548635-ee59df488cde0e2630824a500c4c0ed2
http://163pse-d.Ysx8.com:8000/袁阔成/2009/野火春风斗古城/037.mp3?1251758935882x1368515766x1251759548636-2d18a6e24cdd595c097508a09bb537bf
http://163pse-d.Ysx8.com:8000/袁阔成/2009/野火春风斗古城/038.mp3?1251758935883x1368515767x1251759548637-9835b05199e8b3b03764a89d04e533ef
http://163pse-d.Ysx8.com:8000/袁阔成/2009/野火春风斗古城/039.mp3?1251758935883x1368515767x1251759548637-7b8f8e10e4316f2a0a68a1e5d240197b
http://163pse-d.Ysx8.com:8000/袁阔成/2009/野火春风斗古城/040.mp3?1251758935883x1368515767x1251759548637-abc2934f52ac37bc8996a6a2fba60543
http://163pse-d.Ysx8.com:8000/袁阔成/2009/野火春风斗古城/041.mp3?1251758935884x1368515768x1251759548638-972a35e7a4e6b65e5a196734d126f4b8
http://163pse-d.Ysx8.com:8000/袁阔成/2009/野火春风斗古城/042.mp3?1251758935884x1368515768x1251759548638-adb31c3fa3a3ec025b8fa75145136391
http://163pse-d.Ysx8.com:8000/袁阔成/2009/野火春风斗古城/043.mp3?1251758935884x1368515768x1251759548638-70cf580e542796e1c514a9790259059d
http://163pse-d.Ysx8.com:8000/袁阔成/2009/野火春风斗古城/044.mp3?1251758935885x1368515769x1251759548639-99bfc0bba6ba0e17a542cf24e985cf07
http://163pse-d.Ysx8.com:8000/袁阔成/2009/野火春风斗古城/045.mp3?1251758935885x1368515769x1251759548639-49a87d03211e31d7b2a432bc45e4dce4
http://163pse-d.Ysx8.com:8000/袁阔成/2009/野火春风斗古城/046.mp3?1251758935885x1368515769x1251759548639-fd148f2fd9bb28f7ee81f72b6e0d6456
http://163pse-d.Ysx8.com:8000/袁阔成/2009/野火春风斗古城/047.mp3?1251758935886x1368515770x1251759548640-e5ab70824afbc42760edd94e413758cb
http://163pse-d.Ysx8.com:8000/袁阔成/2009/野火春风斗古城/048.mp3?1251758935886x1368515770x1251759548640-05991134068d4e8a526e49f8773ca11d
http://163pse-d.Ysx8.com:8000/袁阔成/2009/野火春风斗古城/049.mp3?1251758935887x1368515771x1251759548641-fa306ea012338084e02a3e4935456ecb
http://163pse-d.Ysx8.com:8000/袁阔成/2009/野火春风斗古城/050.mp3?1251758935891x1368515775x1251759548645-bad96d77c2e4ff20f6e7d1590691e3cf
http://163pse-d.Ysx8.com:8000/袁阔成/2009/野火春风斗古城/051.mp3?1251758935891x1368515775x1251759548645-77ceb66c9799513f2940ce4d4fdc6244
http://163pse-d.Ysx8.com:8000/袁阔成/2009/野火春风斗古城/052.mp3?1251758935891x1368515775x1251759548645-f2abcc0677c798a77260b5196ca14941
http://163pse-d.Ysx8.com:8000/袁阔成/2009/野火春风斗古城/053.mp3?1251758935892x1368515776x1251759548646-b796bba84362c0181bf942bb9dc1f52c
http://163pse-d.Ysx8.com:8000/袁阔成/2009/野火春风斗古城/054.mp3?1251758935893x1368515777x1251759548647-4b9aec7fee94a9ae25c28d89d3f95b67
http://163pse-d.Ysx8.com:8000/袁阔成/2009/野火春风斗古城/055.mp3?1251758935893x1368515777x1251759548647-84514055998e1b3c3ffcba4bdb55753a
http://163pse-d.Ysx8.com:8000/袁阔成/2009/野火春风斗古城/056.mp3?1251758935893x1368515777x1251759548647-27113d408fb30a9881ed693b3f45da14
http://163pse-d.Ysx8.com:8000/袁阔成/2009/野火春风斗古城/057.mp3?1251758935894x1368515778x1251759548648-5534aae14d55c1f7112e0475a649d841
http://163pse-d.Ysx8.com:8000/袁阔成/2009/野火春风斗古城/058.mp3?1251758935894x1368515778x1251759548648-6194db337cb9e90f99db771a3e49b8e1
http://163pse-d.Ysx8.com:8000/袁阔成/2009/野火春风斗古城/059.mp3?1251758935895x1368515779x1251759548649-784c39d67d41cb01fdf1180866b3cf5c
http://163pse-d.Ysx8.com:8000/袁阔成/2009/野火春风斗古城/060.mp3?1251758935895x1368515779x1251759548649-b9d72b6c964e088eedca3f8c0ba40a5c
http://163pse-d.Ysx8.com:8000/袁阔成/2009/野火春风斗古城/061.mp3?1251758935898x1368515782x1251759548652-4580ce2c9b1042a65cb178b4e426f42e
http://163pse-d.Ysx8.com:8000/袁阔成/2009/野火春风斗古城/062.mp3?1251758935899x1368515783x1251759548653-d20ea070c0de5743ef1e6c991830393f
http://163pse-d.Ysx8.com:8000/袁阔成/2009/野火春风斗古城/063.mp3?1251758935899x1368515783x1251759548653-b8cacc8723b3e4f0b6922cedbf8e97d5
http://163pse-d.Ysx8.com:8000/袁阔成/2009/野火春风斗古城/064.mp3?1251758935899x1368515783x1251759548653-f3c3a45707e03760064caf425b89ce39
http://163pse-d.Ysx8.com:8000/袁阔成/2009/野火春风斗古城/065.mp3?1251758935900x1368515784x1251759548654-9e4d6a97b793977dad67181073a6b980
http://163pse-d.Ysx8.com:8000/袁阔成/2009/野火春风斗古城/066.mp3?1251758935900x1368515784x1251759548654-16fe9cc737a11eca85d653bf415a542b
http://163pse-d.Ysx8.com:8000/袁阔成/2009/野火春风斗古城/067.mp3?1251758935901x1368515785x1251759548655-112107a1dba17b88b6d6130aef74af5c
http://163pse-d.Ysx8.com:8000/袁阔成/2009/野火春风斗古城/068.mp3?1251758935901x1368515785x1251759548655-5c0d22e7e018f49c1075a0db249ad5ee
http://163pse-d.Ysx8.com:8000/袁阔成/2009/野火春风斗古城/069.mp3?1251758935902x1368515786x1251759548656-1b1b63dcfdd7a6b580a7214c3a69d23b
http://163pse-d.Ysx8.com:8000/袁阔成/2009/野火春风斗古城/070.mp3?1251758935903x1368515787x1251759548657-ea252d752ffd0d3dd0f204c275659c4c
http://163pse-d.Ysx8.com:8000/袁阔成/2009/野火春风斗古城/071.mp3?1251758935903x1368515787x1251759548657-dd14fcca6c344e3eb642b6c40d1960f4
http://163pse-d.Ysx8.com:8000/袁阔成/2009/野火春风斗古城/072.mp3?1251758935904x1368515788x1251759548658-3c22d0417cf433da415198caa6312cb3
http://163pse-d.Ysx8.com:8000/袁阔成/2009/野火春风斗古城/073.mp3?1251758935904x1368515788x1251759548658-7eebd1995fab7bcd0ab3b593ec8f60a2
http://163pse-d.Ysx8.com:8000/袁阔成/2009/野火春风斗古城/074.mp3?1251758935904x1368515788x1251759548658-13764f2a1ab0161586a9fd546d2b407f
http://163pse-d.Ysx8.com:8000/袁阔成/2009/野火春风斗古城/075.mp3?1251758935905x1368515789x1251759548659-80aab1f331b86b393dcfa25aaf10ea7b
http://163pse-d.Ysx8.com:8000/袁阔成/2009/野火春风斗古城/076.mp3?1251758935905x1368515789x1251759548659-9fdd1b57c437efd8ef2a45cda74488e1
http://163pse-d.Ysx8.com:8000/袁阔成/2009/野火春风斗古城/077.mp3?1251758935905x1368515789x1251759548659-51f77dfcdd763eb12b6abfbc15bd3a97
http://163pse-d.Ysx8.com:8000/袁阔成/2009/野火春风斗古城/078.mp3?1251758935906x1368515790x1251759548660-56f26520177c4b6c20435803a4761ec4
http://163pse-d.Ysx8.com:8000/袁阔成/2009/野火春风斗古城/079.mp3?1251758935907x1368515791x1251759548661-bbe8a9ea4df501dee0f384e566e6511e
http://163pse-d.Ysx8.com:8000/袁阔成/2009/野火春风斗古城/080.mp3?1251758935907x1368515791x1251759548661-bb4d738b71947795874de0238d23ddb6
【集数】:[第001回][第002回][第003回][第004回][第005回][第006回][第007回][第008回][第009回][第010回][第011回][第012回][第013回][第014回][第015回][第016回][第017回][第018回][第019回][第020回][第021回][第022回][第023回][第024回][第025回][第026回][第027回][第028回][第029回][第030回][第031回][第032回][第033回][第034回][第035回][第036回][第037回][第038回][第039回][第040回][第041回][第042回][第043回][第044回][第045回][第046回][第047回][第048回][第049回][第050回][第051回][第052回][第053回][第054回][第055回][第056回][第057回][第058回][第059回][第060回][第061回][第062回][第063回][第064回][第065回][第066回][第067回][第068回][第069回][第070回][第071回][第072回][第073回][第074回][第075回][第076回][第077回][第078回][第079回][第080回]
采集规则我会发布到网上,欢迎大家下载
地址:
http://pan.baidu.com/share/link?shareid=444338&uk=2233385553(一次采集全部下载地址,即该评书的全部)
http://pan.baidu.com/share/link?shareid=444341&uk=2233385553(单集采集规则,主要是该评书第一集的)
http://pan.baidu.com/share/link?shareid=444419&uk=2233385553(视频教程下载地址)
如何制作采集规则,下次再继续吧!
简单的说一下如何导入采集规则。看演示吧!效果一模一样的,同样导入另一个采集规则,看演示。
本来是制作有声音的,结果话筒有问题,大家就将就一下吧,BYE^^^^^^^
|
|