We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d560e47 commit b142f6bCopy full SHA for b142f6b
rss.py
@@ -53,7 +53,7 @@
53
#xml.write("\t\t\t<torrent:infoHash>{0}</torrent:infoHash>\n".format(infohash))
54
#xml.write("\t\t\t<torrent:magnetURI><![CDATA[{0}]]></torrent:magnetURI>\n".format(magnet))
55
#xml.write("\t\t\t<torrent:fileName>{0}</torrent:fileName><torrent:fileName>\n".format(name))
56
- xml.write("\t\t\t<enclosure url=\"{0}\" type=\"application/x-bittorent\" />\n".format(magnet))
+ xml.write("\t\t\t<enclosure url=\"magnet:?xt=urn:btih:{0}\" type=\"application/x-bittorent\" />\n".format(infohash))
57
xml.write("\t\t</item>\n")
58
xml.write("\t</channel>\n")
59
xml.write("</rss>")
0 commit comments