你好堆栈溢出我有一些代码可以抓取网站并解析小部分数据,如下所示;
System MA
user id = 2084
username = XYZ90
selection = pnq
decimal = 6.000
Percentage = 19.1176470588 %
System NA
user id = 2086
username = pron1
selection = abc
decimal = 13.000
Percentage = 13.1147540984 %
System M
user id = 1664
username = Chrisod
selection = pleader
decimal = 15.000
Percentage = 16.091954023 %
以上是以下过滤器的结果:
if (deciaml > 5 and percentage > 10:
print "system", system_acn
print "user id = ",user_id
print "username = ",username
print "selection = ",selection
print "decimal = ",decimal_delim
print "percentage = ,percentage_calc2,"%"
这都是从循环网络刮板打印不同参数的结果。我想要做的是将每个导出为 RSS。因此,上述内容将作为三个 RSS 帖子存在于 RSS 提要中。我研究了一些模块,如 django,这似乎是一个工具包,用于许多东西,而不是专门的 RSS,本质上我正在寻找最简单和最简单的 RSS 解决方案?对于合适的方法和/或模块的任何建议或评论将不胜感激。亲切的问候 AEA