def send_twitter_post(entry: dict, api: tweepy.API, img_fname: str) -> None:
    '\n    Post tweet on twitter\n    '
    match = re.search('title=(.*)/>', entry['summary'])
    if match:
        msg = match.groups()[0]
        msg += f'''
 {entry['link']}'''
    else:
        msg = '-- No Title --'
    api.update_with_media(status=msg, filename=img_fname)
    return None
Post tweet on twitter
def send_twitter_post(entry: dict, api: tweepy.API, img_fname: str) -> None:
    '\n    \n    '
    match = re.search('title=(.*)/>', entry['summary'])
    if match:
        msg = match.groups()[0]
        msg += f'
 {entry['link']}'
    else:
        msg = '-- No Title --'
    api.update_with_media(status=msg, filename=img_fname)
    return None