Coder Social home page Coder Social logo

zdm's Introduction

项目简介

定时按什么值得买的好价排行榜,收集优惠信息并推送至邮箱,基于java实现,欢迎各位值友来捉虫

  • 邮件的正文内容是html,优惠信息将以表格的形式显示在正文中
  • 已推送的优惠信息会被记录在项目根目录的pushed.txt文件中,每次运行项目都会自动提交代码,更新这个文件
  • 有其他改进的建议可以提issue给我
  • 麻烦给个star支持一下:heart:

运行

  • fork本仓库
  • 新增Actions secrets
secret 说明
EMAILACCOUNT 接收优惠信息的邮箱
EMAILPASSWORD 邮箱的授权码,参考qq邮箱的这篇文档
GIT_TOKEN 参考这篇文章,只勾选repo的权限,Expiration设置为No Expiration

图片名称

  • 打开fork项目的workFlow开关

图片名称

  • 点击zdm_crawler.yml,编辑git actions. 修改红框所示的内容

图片名称

  • 手动触发一次,测试下能不能跑通

图片名称

成功运行的截图:
图片名称

图片名称

  • 我自己也fork了一份,每天都在自动运行的,可以通过这个项目的actions运行记录判断这个项目是否还能work

自定义过滤逻辑

标题关键词过滤

black_words.txt文件中可以自定义关键词,多个关键词换行

在优惠信息的标题中包含任意一个关键词时,就不会被推送

CHANGELOG

日期 说明
2023/5/4 已推送优惠信息按日期在logs文件夹下归类记录.避免单个文件记录数据量过大的问题
2023/1/31 实现定时按什么值得买的好价排行榜,收集优惠信息并推送至邮箱的功能

zdm's People

Contributors

zhihangli avatar lx1169732264 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.