def libWdrListSearch(): search_string = params.get('searchString', None) if search_string is None: search_string = libMediathek.getSearchString() return libWdrHtmlParser.parse( "http://www1.wdr.de/mediathek/video/suche/avsuche100~suche_parentId-videosuche100.html?pageNumber=1&sort=date&q="+search_string\ ) if search_string else None
def libWdrSearch(): import libwdrhtmlparser as libWdrHtmlParser if ('params' in globals() and 'search' in params and params['search']): search_string = params['search'] else: search_string = libMediathek.getSearchString() return\ libWdrHtmlParser.parse(\ "http://www1.wdr.de/mediathek/video/suche/avsuche100~suche_parentId-videosuche100.html?pageNumber=1&sort=date&q="+search_string\ ) if search_string else None
def libWdrListSearch(self): import libwdrhtmlparser as libWdrHtmlParser return libWdrHtmlParser.parse(self.params['url'])
def libWdrSearch(self): import libwdrhtmlparser as libWdrHtmlParser return libWdrHtmlParser.parse( "http://www1.wdr.de/mediathek/video/suche/avsuche100~suche_parentId-videosuche100.html?pageNumber=1&sort=date&q=" + search_string)