Giter VIP home page Giter VIP logo

rssfilter's Introduction

为方便薅阿里云函数计算的羊毛,将 RSSHub-Python 项目里的 RSS 过滤器功能独立出来,做成阿里云函数计算的版本。

项目地址:https://github.com/hillerliao/RssFilter

部署方法记录如下:

一、创建服务

1、进入阿里云函数计算后台,点击创建服务。

阿里云函数计算概览

2、填入服务名称,比如 RssFilter,点击确定。

阿里云函数计算-创建服务

二、配置函数

3、配置函数。

3.1 进入刚创建的服务,点击创建函数
3.2 选择使用自定义运行时创建,填写函数名称,如main
3.3 代码上传方式选择通过 ZIP 包上传代码,将本项目仓库中的过滤器zip代码包func-code-4-RSSFilter.zip下载后上传;
3.4 启动命令填入python app.py

点击 创建

阿里云函数计算-配置函数

三、获取地址

4、获得测试地址,带上路径和参数,如 /filter?feed=<rss 地址>&include_title=<过滤词> 支持的参数同 RSSHub-Python 的 RSS Filter参数

阿里云函数计算-获取函数公网地址

示例:

http://<testing sub domain for fc>.cn-beijing.functioncompute.com/filter?feed=https://sspai.com/feed&include_title=派评

5、测试验证通过后,点击 部署代码,部署完成。

阿里云函数计算-在线编辑器

四、制作 RSS 过滤器的初衷

回顾我作 RSS 过滤器的初心:提高信息获取效率。

比如,有些 RSS,我只关心带有特定关键词的内容;另一些 RSS,我不想看到含有特定关键词的广告内容。有了 RSS 过滤器,这些需求都能得到满足。

好了,如果你觉得本项目对你有用,不妨请我喝杯咖啡。

个人微信收款码-智海

如果有改进建议,欢迎交流。微信: hillerliao

rssfilter's People

Contributors

hillerliao avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

rm76

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.