0, Preface
Some time ago, I found that my low version Zhihu was forced to upgrade.
The upgraded Zhihu is completely immersive browsing, and it takes a few hours before you know it. I deliberately installed the old version of Zhihu before because I didn’t want to indulge in it. Now I can’t find the old version of the installation package, so I have to give up.
I looked at the "healthy use of mobile phone" in the mobile phone settings, and found that the time I spent on Zhihu and station B was as high as 4 hours a day, from Monday to Sunday, without exception.
So, after struggling for a while, I uninstalled Zhihu and other software, leaving Twitter on my phone as the only news channel.
Station B has not been clicked on for a long time. If it is not the only channel for the mobile phone to cast the screen to the small TV, I will also uninstall it.
Since I got to know RSSHub, I used the QQ robot to subscribe to the RSS of several UP masters at station B. After seeing the update push, I clicked on it and cast the screen to the TV to close the app at station B.
The biggest role of RSSHub lies in this: conveniently aggregate the entertainment, news and even the epidemic situation you need in one place. Then, you can directly view it with an RSS reader or other tools, sometimes even bypassing the official app. (This is also the reason why the official Demo was blocked)
In this article, let’s build a RSSHub of our own!
1 Introduction
RSSHub is an RSS feed generator written in Node.js, released under the MIT license, and maintained by DIYgod and other GitHub users. Featured on GitHub Trending shortly after posting. On the evening of March 25, 2020, Beijing time, there was an obstacle in accessing RssHub in mainland China, which was suspected to be blocked by GFW.
- Wikipedia
RSSHub is an open source, easy-to-use, and easy-to-extend RSS generator that can generate RSS feeds for any weird content. RSSHub is developing rapidly with the help of the open source community, and has adapted thousands of items from hundreds of websites.
——RSSHub official website
The Chinese name of RSS is Simple Information Syndication, which is a format for describing and synchronizing website content, and is widely used in other types of websites or services such as online news channels and blogs.
There are many websites, such as GitHub and UptimeRobot, which provide native RSS subscriptions. However, not all websites (especially domestic) support rss, so we can get their RSS indirectly through RSSHub subscription.
Tip: If the platform you like is not supported, but the platform has a large user base, you can raise an issue on GitHub and ask the author to join, there is a high probability that it will be adopted~
RSSHub GitHub project address
https://github.com/DIYgod/RSSHub
If the server is outside the wall, we can directly use the official Demo, but Zhihu and other websites have set strict anti-crawling strategies for their servers, so deploying it yourself is the most reliable.
2. Installation
2.1, pagoda panel
Pull diygod/rsshub
image,
When adding a container, since there is no valuable data to persist, the storage volume is not mounted, and it is equivalent to a new container after restarting.
Map 1200 port, if you use it yourself, 1 core CPU and 100MB memory are enough. It is recommended to use more than 1GB memory for open external network.
Reverse proxy, you can access.
3. Use
refer to:
RSSHub Official Documentation
https://docs.rsshub.app/
Look at the list of routes on the left.
Take the UP host of station B Muyu Shuixin as an example:
First go to station B to view the UP main homepage, and copy the UID:
Check out the documentation again:
In summary, the subscription link is:
https://domain name/bilibili/user/video/927587/
4. Subscribe
The Tiny Tiny RSS feed is recommended.
Reference article:
Docker building (eight) TinyTinyRSS: simple and lightweight RSS subscriber
https://blog.tsinbei.com/archives/764/
You can also use NoneBot+Go-CQHTTP to build a QQ robot.
GitHub address:
QQ robot RSS subscription
https://github.com/Quan666/ELF_RSS
Can automatically push:
Subscriptions can be viewed at:
Reference article:
QQ robot RSS subscriber based on Nonebot
Docker Website (7) RSSHub
Comments