parsing improvements for terminus.i2p and gitea rss feeds, separate clean channel for clearnet bridging

main
simp 2025-09-19 20:02:43 +00:00
parent 8937de048b
commit 4d4dee54e5
4 changed files with 1516 additions and 1394 deletions

2851
app.py

File diff suppressed because it is too large Load Diff

View File

@ -1,3 +1,6 @@
19/9/2025: added better parsing for terminus.i2p and rss feeds from gitea, separate "clean" channel (no torrents)
18/09/2025: added 25 new rss feeds, removed some dead ones
28/03/2025: added rss feeds from git.simp.i2p along with other new feeds, fixed another bug with html code showing up correctly, updated footer
21/01/2025: Improvements in parsing urls and html tags 21/01/2025: Improvements in parsing urls and html tags
08/12/2024: CSS improvements, thank you to dr|z3d, bug fixes 08/12/2024: CSS improvements, thank you to dr|z3d, bug fixes
30/11/2024: Live testing in IRC, added /feedlinks so alive feeds can be copied as a list 30/11/2024: Live testing in IRC, added /feedlinks so alive feeds can be copied as a list

View File

@ -295,7 +295,7 @@ def format_msg(single_msg_raw, topic):
post_url = f'http://{nick_raw}{l[i][2:]}' post_url = f'http://{nick_raw}{l[i][2:]}'
else: else:
post_url = (single_msg.split('::')[1]).split(' @@@')[0] post_url = (single_msg.split('::')[1]).split(' @@@')[0]
if get_host(post_url).casefold() == '127.0.0.1': if get_host(post_url) == '127.0.0.1':
url_q = post_url.split(get_short_url(post_url))[1] url_q = post_url.split(get_short_url(post_url))[1]
post_url = f'http://{nick_raw}{url_q}' post_url = f'http://{nick_raw}{url_q}'
l[i] = '' l[i] = ''

View File

@ -1,12 +1,10 @@
http://simp.i2p/feed torrents http://simp.i2p/feed torrents
http://righttoprivacy.i2p/rss/ blog http://righttoprivacy.i2p/rss/ blog
http://angelwood.i2p/feed.rss blog http://angelwood.i2p/feed.rss blog
http://gl6vzyjnv62kp3vjmmouwlvsrbp2bujk2cev6frgnln5vfepy2xq.b32.i2p/index.xml blog
http://dujemihanovic.i2p/index.xml blog http://dujemihanovic.i2p/index.xml blog
http://torrentfreak.i2p/feed/ torrents http://torrentfreak.i2p/feed/ torrents
http://arstechnica.i2p/feed news http://arstechnica.i2p/feed news
http://simp.i2p/blog/feed blog http://simp.i2p/blog/feed blog
http://ghativega.i2p/atom.xml blog
http://cool-website.i2p/rss.xml blog http://cool-website.i2p/rss.xml blog
http://jacksonchen666.i2p/feeds/ blog http://jacksonchen666.i2p/feeds/ blog
http://mdleom.i2p/atom.xml blog http://mdleom.i2p/atom.xml blog
@ -19,9 +17,7 @@ http://ellipticnews.i2p/feeds/posts/default blog
http://kuukkanen.i2p/feed.xml blog http://kuukkanen.i2p/feed.xml blog
http://hackaday.i2p/feed news http://hackaday.i2p/feed news
http://hongkongfreepress.i2p/ news http://hongkongfreepress.i2p/ news
http://git.idk.i2p/i2p-hackers/i2p.i2p/-/merge_requests.atom?state=opened developer
http://zzz.i2p/topics.rss forum http://zzz.i2p/topics.rss forum
http://git.idk.i2p/i2p-hackers/i2p.i2p/-/issues.atom?state=opened developer
http://stats.i2p/cgi-bin/newhosts.xml blog http://stats.i2p/cgi-bin/newhosts.xml blog
http://tracker2.postman.i2p/?view=RSS&mapset=-1 torrents http://tracker2.postman.i2p/?view=RSS&mapset=-1 torrents
http://hq.postman.i2p/?feed=atom blog http://hq.postman.i2p/?feed=atom blog
@ -36,7 +32,6 @@ http://tails.i2p/news/index.en.atom blog
http://discuss.i2p/app.php/feed/forums?sid=69da73f2a323f778252a08a4c93a887d forum http://discuss.i2p/app.php/feed/forums?sid=69da73f2a323f778252a08a4c93a887d forum
http://sciencedaily.i2p/rss news http://sciencedaily.i2p/rss news
http://schneieronsecurity.i2p/rss news http://schneieronsecurity.i2p/rss news
http://orizuru.i2p/atom.xml news
http://s-config.i2p/rss blog http://s-config.i2p/rss blog
http://shreddit.i2p/r/i2p/.rss forum http://shreddit.i2p/r/i2p/.rss forum
http://natter.i2p/StormyCloudInc/rss forum http://natter.i2p/StormyCloudInc/rss forum
@ -51,27 +46,60 @@ http://techxplore.i2p/rss-feed/ news
http://notbob.i2p/blog.xml blog http://notbob.i2p/blog.xml blog
http://theatlantic.i2p/feed/all/ news http://theatlantic.i2p/feed/all/ news
http://i2p-projekt.i2p/en/feed/blog/atom developer http://i2p-projekt.i2p/en/feed/blog/atom developer
http://amnesie.i2p/rss.xml blog
http://1337z.i2p/rss.xml blog http://1337z.i2p/rss.xml blog
http://git.skank.i2p/rez/plus.atom developer http://git.skank.i2p/rez/plus.atom developer
http://hackernews.i2p/rss news http://hackernews.i2p/rss news
http://paltepuk.i2p/blog/index.i2p.xml blog http://paltepuk.i2p/blog/index.i2p.xml blog
http://deurachavich.i2p/rss.xml blog http://deurachavich.i2p/rss.xml blog
http://fury.i2p/feed.xml blog
https://blog.everypizza.im/feed/feed.xml blog
http://mdleom.i2p/atom.xml blog
http://masflam.i2p/blog/feed.rss blog
http://libresolutionsnetwork.i2p/rss blog http://libresolutionsnetwork.i2p/rss blog
http://jacksonchen666.i2p/posts/index.xml blog http://jacksonchen666.i2p/posts/index.xml blog
http://dankaminsky.i2p/feed blog http://dankaminsky.i2p/feed blog
http://darkrealm.i2p/index.php?act=rss blog
http://franciscogg.i2p/rss.xml blog http://franciscogg.i2p/rss.xml blog
http://shadowforums.i2p/!feed forum http://shadowforums.i2p/!feed forum
http://darkrealm.i2p/index.php?act=rss blog
http://kulervod.i2p/feeds/local.xml?sort=Active forum http://kulervod.i2p/feeds/local.xml?sort=Active forum
http://git.simp.i2p/simp/rayhunter.rss developer http://git.simp.i2p/simp/rayhunter.rss developer
http://git.simp.i2p/simp/guessthesong.rss developer
http://git.simp.i2p/fuzzykitten/dev_endboard.rss developer http://git.simp.i2p/fuzzykitten/dev_endboard.rss developer
http://git.simp.i2p/simp/i2music.rss developer http://git.simp.i2p/simp/i2music.rss developer
http://git.simp.i2p/simp/i2pnews.rss developer http://git.simp.i2p/simp/i2pnews.rss developer
http://git.simp.i2p/simp/shorturl.rss developer http://git.simp.i2p/simp/shorturl.rss developer
http://taz.i2p/rss.xml blog http://git.simp.i2p/simp/TuckIt.rss developer
http://forum.midgard.i2p/syndication.php forum http://terminus.i2p/rss forum
http://git.idk.i2p/I2P_Developers/i2p.i2p.rss developer
http://git.idk.i2p/idk/Go_I2p.rss developer
http://git.idk.i2p/I2P_Developers/i2p.plugins.zzzot.rss developer
http://git.idk.i2p/idk/I2PSnark-RPC.rss developer
http://git.community.i2p/PurpleI2P/pyseeder.rss developer
http://git.community.i2p/PurpleI2P/i2pd-tools.rss developer
http://git.community.i2p/PurpleI2P/i2pd.rss developer
http://gatheryourparty.i2p/rss.xml blog
http://monkemanx.i2p/index.xml blog
http://masflam.i2p/feed/ blog
http://thricegreat.i2p/rss.xml blog
http://taiwan.i2p/rss2.xml blog
http://shittyweb.i2p/blog/feed.xml blog
http://silosneeded.i2p/feed.xml blog
http://pabloshell.i2p/rss.xml blog
http://masflam.i2p/feed/?type=rss blog
http://maidzone.i2p/blog.rss blog
http://med0ed.i2p/rss.xml blog
http://jerryhome.i2p/atom.xml blog
http://lulu-cats.i2p/index.xml blog
http://joshuatshaffer.i2p/index.xml blog
http://jakob.i2p/feed.xml blog
http://itphx.i2p/feed blog
http://gettie.i2p/rss.xml blog
http://darksavantcrusaders.i2p/feed.xml blog
http://cxj.i2p/index.xml blog
http://cosmicflow.i2p/rss/news.xml blog
http://gedanken.i2p/feed.rss blog
http://iranfreedom.i2p/en/feed/ news
http://opendemocracy.i2p/feed news
http://sur.i2p/feed news
http://upstreamjournal.i2p/feed news
http://clap.i2p/feed news
http://git.simp.i2p/simp/Eepstore.rss developer
http://git.simp.i2p/simp/emissary.rss developer
http://git.simp.i2p/simp/mantaray.rss developer
http://git.simp.i2p/simp/yosemite.rss developer