예제 #1
0
파일: libwdr.py 프로젝트: camster1/RTOTV
def libWdrListDateVideos():
    if 'datum' in params:
        from datetime import date, timedelta
        day = date.today() - timedelta(int(params['datum']))
        ddmmyyyy = day.strftime('%d%m%Y')
    else:
        ddmmyyyy = libMediathek.dialogDate()
    url = 'http://www1.wdr.de/mediathek/video/sendungverpasst/sendung-verpasst-100~_tag-' + ddmmyyyy + '_format-mp111_type-rss.feed'
    return libWdrRssParser.parseFeed(url, 'video')
예제 #2
0
def libWdrListFeed():
    return libWdrRssParser.parseFeed(params['url'])