More debug

master
Bob Mottram 2019-08-19 11:56:49 +01:00
parent c400c029ac
commit da316ef4d3
2 changed files with 3 additions and 0 deletions

View File

@ -192,6 +192,7 @@ def addHtmlTags(baseDir: str,httpPrefix: str, \
content=content.replace(wordStr,replaceStr)
content=content.replace('\n','</p><p>')
print('Tags extracted from post: '+str(hashtags))
return '<p>'+content+'</p>'
def getMentionsFromHtml(htmlText: str,matchStr="<span class=\"h-card\"><a href=\"") -> []:

View File

@ -445,6 +445,8 @@ def createPostBase(baseDir: str,nickname: str, domain: str, port: int, \
mentionedRecipients, \
hashtagsDict)
print('Tags extracted from post content: '+str(hashtagsDict))
statusNumber,published = getStatusNumber()
conversationDate=published.split('T')[0]
conversationId=statusNumber