<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_media_urls(tweet):
 """ Gets the https links to each media entity in the tweet. Args: tweet (Tweet or dict):
 tweet Returns: list: list of urls. Will be an empty list if there are no urls present. Example: ['https://pbs.twimg.com/media/something.jpg', 'https://pbs.twimg.com/media/something_else.jpg'] """


    media = get_media_entities(tweet)
    urls = [m.get("media_url_https") for m in media] if media else []
    return urls