@@ 7,7 7,10 @@ subjects = [
'Is Hiring', \
' (YC ', \
'[PATCH', \
- '3D'
+ '3D', \
+ 'OpenAI', \
+ 'ChatGPT', \
+ 'GPT-4'
]
bodies = [
@@ 57,6 60,15 @@ def main(argv):
rc = rejectSubject('', '[PATCH v3]')
print('patch rc=',rc)
+ rc = rejectSubject('', 'ChatGPT')
+ print('chat rc=',rc)
+
+ rc = rejectSubject('', 'GPT-4')
+ print('gpt4 rc=',rc)
+
+ rc = rejectSubject('', 'OpenAI')
+ print('ai rc=',rc)
+
rc = rejectBody('hn', 'xx')
print('xx rc=',rc)
@@ 450,7 450,7 @@ for rss in rssList['list']:
# try and replace reddit with text/lite version
if 'reddit.com' in str(link):
### link = str(link) + "/.compact"
link = str(link).replace("www.reddit.com", "i.reddit.com")
link = str(link).replace("www.reddit.com", "old.reddit.com")
messageText = ''
messageText += "\n" + str(link) + "\n"
messageText += "\n" + summary + "\n\n"