Skip to content

Commit

Permalink
update useragent
Browse files Browse the repository at this point in the history
  • Loading branch information
yinan-c committed May 28, 2024
1 parent 8f6f6b6 commit 549eac9
Show file tree
Hide file tree
Showing 23 changed files with 4,670 additions and 26 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG-zh.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# 更新日志
- 2024-05-28:
- 添加了 useragent 到请求中,以避免 403 错误。
- 2024-04-20:
- 移除了 U-EMAIL secret,bot 将会提交和推送。
- 2023-11-06:
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# CHANGELOG
- 2024-05-28:
- Added useragent to the requests to avoid 403 error.
- 2024-04-20:
- Removed secret, U-EMAIL, bot will commit and push instead.
- 2023-11-06:
Expand Down
1 change: 1 addition & 0 deletions README-zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
[![](https://img.shields.io/github/last-commit/yinan-c/RSS-GPT/main?label=feeds%20refreshed)](https://yinan-c.github.io/RSS-GPT/)
[![](https://img.shields.io/github/license/yinan-c/RSS-GPT)](https://github.com/yinan-c/RSS-GPT/blob/master/LICENSE)

如果想要一个网页端 GUI 来更好地管理 feeds,请关注我的最新项目:[RSSBrew](https://github.com/yinan-c/RSSBrew),一个开源自托管的 RSS-GPT 替代方案,在过滤,自定义 prompt 等方面更加强大。

## 这是什么?

Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
[![](https://img.shields.io/github/last-commit/yinan-c/RSS-GPT/main?label=feeds%20refreshed)](https://yinan-c.github.io/RSS-GPT/)
[![](https://img.shields.io/github/license/yinan-c/RSS-GPT)](https://github.com/yinan-c/RSS-GPT/blob/master/LICENSE)

If you need a web GUI to manage feeds better, check out my latest project: [RSSBrew](https://github.com/yinan-c/RSSBrew), a self-hosted RSS-GPT alternative with more features and customizability, built with Django.

## What is this?

Expand All @@ -25,7 +26,7 @@ Using GitHub Actions to run a simple Python script repeatedly: Calling OpenAI AP
- Add Repository Secrets
- U_NAME: your GitHub username
- U_EMAIL: your GitHub email
- WORK_TOKEN: your GitHub personal accesstoken with `repo` and `workflow` scope, get it from [GitHub settings](https://github.com/settings/tokens/new)
- WORK_TOKEN: your GitHub personal access token with `repo` and `workflow` scope, get it from [GitHub settings](https://github.com/settings/tokens/new)
- OPENAI_API_KEY(OPTIONAL, only needed when using AI summarization feature): Get it from [OpenAI website](https://platform.openai.com/account/api-keys)
- Enable GitHub Pages in repo settings, choose deploy from branch, and set the directory to `/docs`.
- Configure your RSS feeds in config.ini
Expand Down
2 changes: 1 addition & 1 deletion config.ini
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ url = "https://rsshub.app/36kr/motif/327686782977"
max_items = "2"
filter_apply = "title"
filter_type = "include"
filter_rule = "OpenAI|ChatGPT"
filter_rule = "OpenAI|ChatGPT|Claude"

[source009]
name = "paul-graham"
Expand Down
26 changes: 26 additions & 0 deletions docs/36kr-ai.log
Original file line number Diff line number Diff line change
Expand Up @@ -52291,3 +52291,29 @@ Fetching from https://rsshub.app/36kr/motif/327686782977
Feed error: 403
append_entries: 0
error when rendering xml, skip docs/36kr-ai
------------------------------------------------------
Started: 2024-05-28 02:45:26.039055
Existing_entries: 672
Fetching from https://rsshub.app/36kr/motif/327686782977
Filter: [马斯克 xAI 获 60 亿美元融资,要造一个“超级算力工厂”](https://www.36kr.com/p/2794201924873859)
Append: [OpenAI悄悄招募了Altman投资的安全团队,但与超级对齐无关](https://www.36kr.com/p/2794264329137796)
Filter: [让用户吃石头,给披萨涂胶水,Google AI 搜索疯了吗](https://www.36kr.com/p/2794201722908295)
Append: [力大砖飞!马斯克xAI再融60亿美元,将组10万块H100集群挑战谷歌OpenAI | 最前线](https://www.36kr.com/p/2794289003736713)
Filter: [英特尔高宇:AI算力大家不用发愁,很快就会普及丨新质生产力·AI Partner大会](https://www.36kr.com/p/2794040917771401)
Filter: [360副总裁梁志辉:搜索和浏览器,是AI应用的明星场景|新质生产力·AI Partner大会](https://www.36kr.com/p/2793602156070021)
Filter: [北京智源人工智能研究院林咏华:大模型背后的数据与算力挑战 | 新质生产力·AI Partner大会](https://www.36kr.com/p/2789514177823880)
Filter: [年薪差距 10 万美元,同是工程师,数据表明:搞 AI 的收入远超其他同行](https://www.36kr.com/p/2794118398378889)
Append: [OpenAI再陷宫斗:理想主义者是如何被击碎的?](https://www.36kr.com/p/2794090525688960)
Filter: [36氪圆桌:大模型的应用落地,有没有捷径可走?|新质生产力·AI Partner大会](https://www.36kr.com/p/2789794715518082)
Filter: [百度智能云副总裁喻友平:大模型在B端已经落地,正在开花结果 | 新质生产力·AI Partner大会](https://www.36kr.com/p/2793823517541257)
Append: [马斯克亮王炸,𝕏AI融资60亿美金,估值180亿,开源"核武器"对轰OpenAI](https://www.36kr.com/p/2793916389792137)
Append: [iOS 18最新AI功能曝光,苹果或已和OpenAI达成合作,但6月可能没有惊喜](https://www.36kr.com/p/2794056304739460)
Filter: [“慢公司”小红书,加速布局大模型](https://www.36kr.com/p/2793916131563904)
Filter: [字节掀桌,和BAT赌明天](https://www.36kr.com/p/2794006955967620)
Filter: [蚂蚁副总裁徐鹏:让AI像扫码支付一样,便利每个人的生活 | 新质生产力·AI Partner大会](https://www.36kr.com/p/2790906609910663)
Filter: [卡奥斯工业智能研究院执行院长秦承刚:大模型背后的数据与算力挑战 | 新质生产力·AI Partner大会](https://www.36kr.com/p/2793549875987332)
Filter: [群核科技(酷家乐)陈卓:用多模态AI助理赋能设计产业,用合成数据服务反哺AI | 新质生产力·AI Partner大会](https://www.36kr.com/p/2789863323190402)
Filter: [芝大论文证明GPT-4选股准确率高达60%,人类股票分析师要下岗?AI大牛质疑数据污染](https://www.36kr.com/p/2793695191073673)
Filter: [港大字节提出多模态大模型新范式,模拟人类先感知后认知,精确定位图中物体](https://www.36kr.com/p/2793805828031366)
append_entries: 5
Finish: 2024-05-28 02:45:26.205539
Loading

0 comments on commit 549eac9

Please sign in to comment.