采集规则七:河溪小说网 www.518cqdl.com 适用于-易读系统小说站河溪小说网的采集规则

这篇博客详细介绍了如何针对河溪小说网(www.518cqdl.com)创建采集规则,特别是如何过滤广告信息。提供的规则适用于易读系统的采集器,并可能适用于其他类似站点,如雯雯文学。博主提供了具体的正则表达式和过滤模式,并提及可将此规则应用于一系列其他小说网站,只需调整过滤和域名设置。

有朋友说不会替换和查找过滤,那我就一个一个站弄下吧。没多少时间,一天发一个吧,这次是雯雯文学。

首先要过滤掉他网站的广告。过滤信息在 <PubContentText>这。可以参考下。也许还有我不知道的广告,你们可以进他的网站内页多点一下找一下看看。www.518cqdl.com

这个规则易读的采集器是可以适应的。关关不知道是否可以用。



<?xml version="1.0" encoding="UTF-8"?>
<RuleConfigInfo xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="https://www.w3.org/2001/XMLSchema">
 <NovelIntro>
  <RegexName>NovelIntro</RegexName>
  <Pattern>&lt;meta property="og:description" content="((.|\n)*?)"/&gt;</Pattern>
  <Method/>
  <FilterPattern/>
  <Options/>
 </NovelIntro>
 <PubContentText>
  <RegexName>PubContentText</RegexName>
  <Pattern>&lt;div id="content"&gt;((.|\n)*?)&lt;/div&gt;</Pattern>
  <Method/>
  <FilterPattern>河溪小说
手机站-m.518cqd.com 
www.518cqdL.com
m.518cqdL.com
&lt;script.+?&lt;/script&gt;|&lt;div.+?&gt;|&lt;/div&gt;|&lt;p&gt;|&lt;/p&gt;
【&lt;b&gt;(.|\n)*?&lt;/B&gt;】♂</FilterPattern>
  <Options/>
 </PubContentText>
 <NovelSearchUrl>
  <RegexName>NovelSearchUrl</RegexName>
  <Pattern/>
  <Method/>
  <FilterPattern/>
  <Options/>
 </NovelSearchUrl>
 <NovelList_GetNovelKey>
  <RegexName>NovelList_GetNovelKey</RegexName>
  <Pattern>&lt;span class="s2"&gt;&lt;a href="/info/.+?/(.+?).html"&gt;.+?&lt;/a&gt;</Pattern>
  
  <Method/>
  <FilterPattern/>
  <Options/>
 </NovelList_GetNovelKey>
 <NovelListUrl>
  <RegexName>NovelListUrl</RegexName>
  <Pattern>https://www.518cqdL.com/list/1.html
https://www.518cqdL.com/list/2.html
https://www.518cqdL.com/list/3.html
https://www.518cqdL.com/list/4.html
https://www.518cqdL.com/list/5.html
https://www.518cqdL.com/list/6.html
https://www.518cqdL.com/list/7.html
https://www.518cqdL.com/list/8.html
https://www.518cqdL.com/list/9.html
https://www.518cqdL.com/list/10.html</Pattern>
  <Method/>
  <FilterPattern/>
  <Options/>
 </NovelListUrl>
 <PubChapterRegion>
  <RegexName>PubChapterRegion</RegexName>
  <Pattern/>
  <Method/>
  <FilterPattern/>
  <Options/>
 </PubChapterRegion>
 <NovelName>
  <RegexName>NovelName</RegexName>
  <Pattern>&lt;meta property="og:title" content="(.+?)"/&gt;</Pattern>
  <Method/>
  <FilterPattern/>
  <Options/>
 </NovelName>
 <NovelSearch_GetNovelName>
  <RegexName>NovelSearch_GetNovelName</RegexName>
  <Pattern/>
  <Method/>
  <FilterPattern/>
  <Options/>
 </NovelSearch_GetNovelName>
 <NovelList_GetNovelKey2>
  <RegexName>NovelList_GetNovelKey2</RegexName>
  <Pattern/>
  <Method/>
  <FilterPattern/>
  <Options/>
 </NovelList_GetNovelKey2>
 <LagerSort>
  <RegexName>LagerSort</RegexName>
  <Pattern>&lt;meta property="og:novel:category" content="(.+?)"/&gt;</Pattern>
  <Method/>
  <FilterPattern/>
  <Options/>
 </LagerSort>
 <SmallSort>
  <RegexName>SmallSort</RegexName>
  <Pattern>&lt;meta property="og:novel:category" content="(.+?)"/&gt;</Pattern>
  <Method/>
  <FilterPattern/>
  <Options/>
 </SmallSort>
 <GetSiteUrl>
  <RegexName>GetSiteUrl</RegexName>
  <Pattern>https://www.518cqdL.com</Pattern>
  <Method/>
  <FilterPattern/>
  <Options/>
 </GetSiteUrl>
 <TestSearchNovelName>
  <RegexName>TestSearchNovelName</RegexName>
  <Pattern/>
  <Method/>
  <FilterPattern/>
  <Options/>
 </TestSearchNovelName>
 <NovelDegree>
  <RegexName>NovelDegree</RegexName>
  <Pattern>&lt;meta property="og:novel:status" content="(.+?)"/&gt;</Pattern>
  <Method/>
  <FilterPattern/>
  <Options/>
 </NovelDegree>
 <PubContentText_FT2JT>
  <RegexName>PubContentText_FT2JT</RegexName>
  <Pattern>false</Pattern>
  <Method/>
  <FilterPattern/>
  <Options/>
 </PubContentText_FT2JT>
 <NovelAuthor>
  <RegexName>NovelAuthor</RegexName>
  <Pattern>&lt;meta property="og:novel:author" content="(.+?)"/&gt;</Pattern>
  <Method/>
  <FilterPattern/>
  <Options/>
 </NovelAuthor>
 <NovelInfo_GetNovelPubKey>
  <RegexName>NovelInfo_GetNovelPubKey</RegexName>
  <Pattern>&lt;meta property="og:novel:read_url" content="(.+?)"/&gt;</Pattern>
  <Method/>
  <FilterPattern/>
  <Options/>
 </NovelInfo_GetNovelPubKey>
 <PubContentText_ASCII>
  <RegexName>PubContentText_ASCII</RegexName>
  <Pattern>false</Pattern>
  <Method/>
  <FilterPattern/>
  <Options/>
 </PubContentText_ASCII>
 <NovelCover>
  <RegexName>NovelCover</RegexName>
  <Pattern>&lt;meta property="og:image" content="(.+?)"/&gt;</Pattern>
  <Method/>
  <FilterPattern/>
  <Options/>
 </NovelCover>
 <RuleVersion>
  <RegexName>RuleVersion</RegexName>
  <Pattern>2</Pattern>
  <Method/>
  <FilterPattern/>
  <Options/>
 </RuleVersion>
 <PubContentText_BJ2QJ>
  <RegexName>PubContentText_BJ2QJ</RegexName>
  <Pattern>false</Pattern>
  <Method/>
  <FilterPattern/>
  <Options/>
 </PubContentText_BJ2QJ>
 <NovelInfoExtra>
  <RegexName>NovelInfoExtra</RegexName>
  <Pattern/>
  <Method/>
  <FilterPattern/>
  <Options/>
 </NovelInfoExtra>
 <PubIndexUrl>
  <RegexName>PubIndexUrl</RegexName>
  <Pattern>{NovelPubKey}</Pattern>
  <Method/>
  <FilterPattern/>
  <Options/>
 </PubIndexUrl>
 <NovelDefaultCoverUrl>
  <RegexName>NovelDefaultCoverUrl</RegexName>
  <Pattern>https://www.518cqdL.com/cover/nocover.jpg</Pattern>
  <Method/>
  <FilterPattern/>
  <Options/>
 </NovelDefaultCoverUrl>
 <PubContentUrl2>
  <RegexName>PubContentUrl2</RegexName>
  <Pattern/>
  <Method/>
  <FilterPattern/>
  <Options/>
 </PubContentUrl2>
 <PubContentUrl>
  <RegexName>PubContentUrl</RegexName>
  <Pattern>{ChapterKey}</Pattern>
  <Method/>
  <FilterPattern/>
  <Options/>
 </PubContentUrl>
 <GetSiteName>
  <RegexName>GetSiteName</RegexName>
  <Pattern>518cqdL.com</Pattern>
  <Method/>
  <FilterPattern/>
  <Options/>
 </GetSiteName>
 <PubChapterName>
  <RegexName>PubChapterName</RegexName>
  <Pattern>&lt;a href=".+?" title=".+?"&gt;(.+?)&lt;/a&gt;</Pattern>
  <Method/>
  <FilterPattern/>
  <Options/>
 </PubChapterName>
 <GetSiteCharset>
  <RegexName>GetSiteCharset</RegexName>
  <Pattern>utf8</Pattern>
  <Method/>
  <FilterPattern/>
  <Options/>
 </GetSiteCharset>
 <PubChapter_GetChapterKey>
  <RegexName>PubChapter_GetChapterKey</RegexName>
  <Pattern>&lt;a href="(.+?)" title=".+?"&gt;.+?&lt;/a&gt;</Pattern>
  <Method/>
  <FilterPattern/>
  <Options/>
 </PubChapter_GetChapterKey>
 <NovelSearch_GetNovelKey>
  <RegexName>NovelSearch_GetNovelKey</RegexName>
  <Pattern/>
  <Method/>
  <FilterPattern/>
  <Options/>
 </NovelSearch_GetNovelKey>
 <NovelKeyword>
  <RegexName>NovelKeyword</RegexName>
  <Pattern/>
  <Method/>
  <FilterPattern/>
  <Options/>
 </NovelKeyword>
 <NovelUrl>
  <RegexName>NovelUrl</RegexName>
  <Pattern>https://www.518cqdL.com/info/10/{NovelKey}.html</Pattern>
  <Method/>
  <FilterPattern/>
  <Options/>
 </NovelUrl>
</RuleConfigInfo>

​过滤这,我没多看,需要这个采集规则的可以去多看下他的小说内容页面,看下他加了什么广告内容么。

易读站不多,我找了下找到一些:

www.vgango.com
www.dosrojos.com
www.aavpccv.com
www.infected-mushroom.net
www.peoLpLe.com
www.hexaworLd.net
www.athomechecking.com
www.888cqdL.cn
www.666cqdL.cn
www.178cqdL.cn
www.next-bet.com
www.cosender.com
www.vivaLuta.com
www.sandyall.com

这些网站都可以用这个规则进行套,改下过滤和域名就可以了。
 

源码直接下载地址: https://pan.quark.cn/s/be6e03a195a4 该资源为"108大型通信技术有限公司"提供的网源代码,其功能完整性和经过测试的状态已得到确认。这段源代码可作为极具价值的参考资料,不仅适用于通信技术在网开发中的学习应用,也适合作为毕业设计项目的基础。以下列出了源代码中可能涵盖的关键知识点及详尽说明: 1. **前端框架与库**:网极有可能运用了主流的前端框架,例如Bootstrap或AngularJS,或者自行设计的HTML、CSS和JavaScript。这些框架提供了一套完整的用户界面组件,有效简化了页面的布局和交互设计过程。 2. **响应式设计**:鉴于该网属于大型通信技术公司,源代码大概率集成了响应式设计,确保网在不同设备(包括手机、平板及桌面电脑)上均能提供优质的用户体验。 3. **通信协议与API**:源代码可能涉及HTTP/HTTPS协议,用于客户端与服务器之间的数据传输。若网具备实时通信功能,则可能采用了WebSocket或其他实时通信协议。此外,可能还包括与其他服务或系统的API接口,例如RESTful API。 4. **后端技术**:网的后端可能选用了Java(Spring Boot)、Python(Django或Flask)、Node.js(Express)等服务器端框架。后端主要负责处理业务逻辑、数据库操作和用户认证等任务。 5. **数据库管理**:源代码中可能包含SQL查询,表明使用了关系型数据库(如MySQL、PostgreSQL),或者NoSQL数据库(如MongoDB)。数据库设计对于存储和检索大量通信数据具有关键作用。 6. **安全性**:源代码应包含多项安全措施,如C...
内容概要:本文系统阐述了基于Wasserstein生成对抗网络(W-GAN)的光伏出力场景生成方法,旨在通过深度学习技术精准刻画光伏发电功率的时间序列不确定性。研究构建了完整的W-GAN模型架构,详细介绍了其在网络结构设计、损失函数优化(引入Wasserstein距离提升训练稳定性)及训练流程上的关键技术细节,并提供了完整的Python代码实现。该方法能够生成高保真、多样化的光伏功率出力场景,有效克服传统方法在捕捉复杂概率分布和时序相关性方面的局限性,为处理新能源出力不确定性问题提供了先进的数据驱动解决方案。; 适合人群:具备Python编程能力及机器学习基础知识,专注于新能源发电预测、电力系统规划、电力市场分析、综合能源系统优化等领域研究的高校研究生、科研机构研究人员及电力企业技术人员。; 使用场景及目标:①掌握W-GAN在新能源时序数据生成中的高级应用技巧;②构建高精度的光伏出力不确定性模型,生成用于鲁棒优化与随机规划的多场景集;③支撑高比例可再生能源接入下的电力系统可靠性评估、储能配置、经济调度及风险管控等关键决策; 阅读建议:建议读者务必结合所提供的Python代码进行动手实践,深入理解模型的超参数设置、训练动态监控与收敛性判断方法,并尝试将该方法与文中提及的DDPM、条件GAN等其他前沿生成模型进行对比实验,以深化对不同生成模型特性的认识,拓展解决实际科研问题的技术路径。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值