import requests
from bs4 import BeautifulSoup


def get_rss(rss_url):
    """Get RSS XML and parse it to BeautifulSoup object

    :param rss_url: a string, URL of RSS from upwork
    :return: BeautifulSoup xml object if successful, or boolean False if failed
    """
    url = rss_url

    querystring = {}
    payload = ""
    headers = {}

    response = requests.request("GET", url, data=payload, headers=headers, params=querystring)
    if response.status_code == 200:
        return BeautifulSoup(response.content, "xml")
    else:
        return False