mirror of
https://github.com/langgenius/dify-plugins.git
synced 2026-07-22 01:55:36 -04:00
[Plugin Request]: #142
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Slime2025-commits on GitHub (Jul 2, 2025).
Plugin Name
sshhub
Function Description
import requests
import xml.etree.ElementTree as ET
url = 'http://localhost:1200/people/finance'
response = requests.get(url)
xml_content = response.content
root = ET.fromstring(xml_content)
解析每条新闻
for item in root.findall('./channel/item'):
title = item.find('title').text
link = item.find('link').text
pubDate = item.find('pubDate').text
print(f'标题: {title}')
print(f'链接: {link}')
print(f'发布时间: {pubDate}')
print('------')
Official Website URL
No response
@jingfelix commented on GitHub (Jul 3, 2025):
I guess what you refer is RSSHub? We provide a plugin for RSSHub at https://marketplace.dify.ai/plugins/stvlynn/rsshub .
@Slime2025-commits commented on GitHub (Jul 3, 2025):
我想看看自制插件代码是怎么写的。
@jingfelix commented on GitHub (Jul 3, 2025):
Please check https://docs.dify.ai/plugin-dev-zh/0111-getting-started-dify-plugin where you can find comprehensive documentaion about Dify plugin development.