Esempio n. 1
0
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
Esempio n. 2
0
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
Esempio n. 3
0
 def libWdrListSearch(self):
     import libwdrhtmlparser as libWdrHtmlParser
     return libWdrHtmlParser.parse(self.params['url'])
Esempio n. 4
0
 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)