'Send http request to like media by ID'

def like(self, media_id):

    if self.login_status:
        url_likes = (self.url_likes % media_id)
        try:
            like = self.s.post(url_likes)
            last_liked_media_id = media_id
        except:
            self.write_log('Except    on    like!')
            like = 0
        return like
