blogbot: need to save the string version of the html

mike/chat-no-end-time
Mike Lang 3 weeks ago
parent a648dee902
commit 2a12687473

@ -169,7 +169,7 @@ def main(config_file, interval=60, test=False, stream='bot-spam', topic='Blog Po
else: else:
if save_dir is not None: if save_dir is not None:
for id, html in posts: for id, html in posts:
save_post(save_dir, id, html) save_post(save_dir, id, str(html))
if first: if first:
seen = set(id for id, html in posts) seen = set(id for id, html in posts)
if test: if test:

Loading…
Cancel
Save