Beispiel #1
0
def trailer(item):
    import youtube
    itemlist = []
    item.url = "https://www.googleapis.com/youtube/v3/search" + \
                "?q=" + item.show.replace(" ","+") + "+trailer+HD+Español" \
                "&regionCode=ES" + \
                "&part=snippet" + \
                "&hl=es_ES" + \
                "&key=AIzaSyAd-YEOqZz9nXVzGtn3KWzYLbLaajhqIDA" + \
                "&type=video" + \
                "&maxResults=50" + \
                "&pageToken="
    itemlist.extend(youtube.fichas(item))
    #itemlist.pop(-1)
    return itemlist
Beispiel #2
0
def trailer(item):
    import youtube
    itemlist = []
    item.url = "https://www.googleapis.com/youtube/v3/search" + \
                "?q=" + item.show.replace(" ","+") + "+trailer+HD+Español" \
                "&regionCode=ES" + \
                "&part=snippet" + \
                "&hl=es_ES" + \
                "&key=AIzaSyAd-YEOqZz9nXVzGtn3KWzYLbLaajhqIDA" + \
                "&type=video" + \
                "&maxResults=50" + \
                "&pageToken="
    itemlist.extend(youtube.fichas(item))
    #itemlist.pop(-1)
    return itemlist