diff --git a/feeds/modules/nerfnow.py b/feeds/modules/nerfnow.py index bfa8f65..aca1aad 100644 --- a/feeds/modules/nerfnow.py +++ b/feeds/modules/nerfnow.py @@ -27,6 +27,7 @@ class NerfNowFeedModuleConfig(FeedModuleConfig): data = e['content'][0]['value'].replace('\n', '') url = IMAGE_RE.search(data).group(1).replace('/large', '') comment = CAPTION_NEWLINE_RE.sub('\n', CAPTION_RE.search(data).group(1)) + comment = comment.replace('
', '') caption = '{}\n\n{}\n\n{}'.format(e['title'], comment, e['feedburner_origlink']) bot.send_photo(chat_id, url, caption, parse_mode='html') yield e['updated']