|
|
|
@ -160,7 +160,7 @@ class PublicRelations(Bureau):
|
|
|
|
|
prn.textln(username)
|
|
|
|
|
prn.set()
|
|
|
|
|
twtext = html.unescape(t["full_text"])
|
|
|
|
|
prn.block_text(twtext)
|
|
|
|
|
prn.block_text(twtext, font="0")
|
|
|
|
|
prn.ln()
|
|
|
|
|
|
|
|
|
|
if "media" in t["entities"]:
|
|
|
|
@ -199,7 +199,7 @@ class PublicRelations(Bureau):
|
|
|
|
|
prn.textln(username)
|
|
|
|
|
prn.set()
|
|
|
|
|
twtext = html.unescape(tweet["full_text"])
|
|
|
|
|
prn.block_text(twtext)
|
|
|
|
|
prn.block_text(twtext, font="0")
|
|
|
|
|
|
|
|
|
|
if "media" in tweet["entities"]:
|
|
|
|
|
for entity in tweet["entities"]["media"]:
|
|
|
|
@ -312,7 +312,7 @@ class PublicRelations(Bureau):
|
|
|
|
|
prn.set()
|
|
|
|
|
ttext = bleach.clean(t.content, tags=[], strip=True)
|
|
|
|
|
ttext = html.unescape(ttext)
|
|
|
|
|
prn.block_text(ttext)
|
|
|
|
|
prn.block_text(ttext, font="0")
|
|
|
|
|
|
|
|
|
|
if len(t.media_attachments) > 0:
|
|
|
|
|
img = None
|
|
|
|
|