Skip to content

实时监控小说网站的最新更新 爬取内容发送到邮箱

Notifications You must be signed in to change notification settings

neverjust/novel_script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

看小说的脚本

服务器爬取小说最新章节并发送邮件到手机脚本

爬取源 顶点小说网(https://www.23us.so)

使用方法

  • 在novel.py脚本里修改配置L
   sender = ''   
   pwd = ''   
   receiver = ''    
   mail_host = '' #授权码    
   book_tags = [    
   '6/6276/',#秘诡之主    
   '22/22791/',#克斯玛帝国    
   ]    
  • 在page.txt里加上想看小说最新章节的url
https://www.23us.so/files/article/html/6/6276/12602808.html
https://www.23us.so/files/article/html/22/22791/12614215.html
  • 挂到服务器上之后 用cron定时每分钟运行一次

    crontab -e
    */1 * * * * python 脚本绝对路径

About

实时监控小说网站的最新更新 爬取内容发送到邮箱

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages