I have received word that there are people combing through the PieFed code looking for anything that might be harmful. This is excellent and can only make PieFed better and less harmful.
We appreciate their interest in PieFed and look forward to answering any questions and showing people around the code. Please join us at https://chat.piefed.social/ or https://matrix.to/#/#piefed-developers:matrix.org.
There’s no need to listen to rumors and amateur speculation when we’re right here and happy to help. Come on in, the water’s fine!


the bad thing oabout regex parsing html (or xml) in general is that how often it just works. like 90% of times, it works 100%, it is just the last 10% where shit breaks. I in most of my scripts use regex or grep, or in language with string methods, use find, and the amount of times it works is just so appealing to implement because all xml parsing libraries suck, and their bindings suck and it is just way to much work when grep ‘title’ gets you 90% there. I feel this.
It’s somewhat ok in our situation though because the HTML we’re dealing with was generated from Markdown rather than typed by people so it’s well structured and the same each time.
The code is very not fun to read though, regex is just impossible gibberish.
I mean, it’s not that bad if you’ve spent far far too long on regex101.com…
I guess I’m one of the few weirdos who actually likes messing around with multiple capture groups and complex patterns.