this repo has no description

sdw: search for posts that get right to the point

+1 -1
+1 -1
feeds/sevendirtywords.py
··· 34 34 return 35 35 36 36 # https://en.wikipedia.org/wiki/Seven_dirty_words 37 - if re.search(r'\b(shit|piss|fuck|cunt|cocksucker|motherfucker|tits)\b', record['text'], re.I) is not None: 37 + if re.search(r'^.{0,16}\b(shit|shitting|piss|fuck|fucking|cunt|cocksucker|motherfucker|tits)\b.{0,16}$', record['text'], re.I) is not None: 38 38 repo = commit['did'] 39 39 rkey = commit['rkey'] 40 40 post_uri = f'at://{repo}/app.bsky.feed.post/{rkey}'