src/crawler.py
def showlimit(stype):
    """Passes the page and the type to limit() """
    if stype == 'radio':
        page = requests.get(radiourl)
        return limit(page.text)
    elif stype == 'tv':
        page = requests.get(tvurl)
        return limit(page.text)
Passes the page and the type to limit() 
Passes the page and the type to limit()
Passes the page and the type to limit ()
def showlimit(stype):
    if stype == 'radio':
        page = requests.get(radiourl)
        return limit(page.text)
    elif stype == 'tv':
        page = requests.get(tvurl)
        return limit(page.text)
def showlimit ( stype ) : if stype == 'radio' : page = requests . get ( radiourl ) return limit ( page . text ) elif stype == 'tv' : page = requests . get ( tvurl ) return limit ( page . text )
Passes the page and the type to limit()
Passes the page and the type to limit ()
"""Passes the page and the type to limit() """
stype