zyujs / rss Goto Github PK
View Code? Open in Web Editor NEWRSS订阅插件 for Hoshinobot
License: GNU General Public License v3.0
RSS订阅插件 for Hoshinobot
License: GNU General Public License v3.0
希望可以限定某条rss只在指定群推送。
现在在任意一个群里rss addr之后所有群里都会推送这个消息。
我尝试在data.json中给某个群添加单独一个rss,但是每次schedule work后会被刷掉。
咱不太会pr,所以提个issue大佬们改一下吧。
python3.4版本之后html.parser.HTMLParser.unescape()被html.parser.unescape()代替了,python3.9彻底弃用前者。
所以头文件里导入一下html.parser.unescape,然后generate_image(url_list)里把url = HTMLParser.unescape(url)改成url = unescape(url)就好使了。也能保证python3.4到3.9的兼容性。感谢大佬改一改。
更新了服务器的python版本,从3.8.5更新到3.9.5然后出现如下错误
ERROR: Failed to import "hoshino.modules.rss.rss", error: module 'base64' has no attribute 'decodestring'
解决方法:
尝试使用published_parsed替代id记录推送进度
地河佬变更了域名rsshub.dihe.moe后, feedparser解析显示下面的内容,不清楚什么原因。。。
{'feed': {}, 'entries': [], 'bozo': 1, 'encoding': 'utf-8', 'version': '', 'bozo_exception': SAXParseException('no element found'), 'namespaces': {}}
推特的图片库如果能用cf的worker挂起来,然后就可以省去代理.
加上Rss订阅源,perfect
举个例子
原来的Img标签是这样的
https://pbs.twimg.com/media/FOuH99CVEAEcwcV?format=jpg&name=orig
通过cf的worker代理后就可以在国内进行访问
https://autumn-water-a15f.whitediamond.workers.dev/media/FOuH99CVEAEcwcV?format=jpg&name=orig
我无法魔改,因为我不懂Python...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.