예제 #1
0
def GetVideoSummary():
    data = getVideoData(request.args.get('videoId'))
    return jsonify(results=data)
예제 #2
0
def producsuggestions():
    searchData = getVideoData('productivity')
    return render_template("videoLayout.html",
                           results=searchData,
                           title="Productivity")
예제 #3
0
def businesssuggestions():
    searchData = getVideoData('business')
    return render_template("videoLayout.html",
                           results=searchData,
                           title="Business")
예제 #4
0
def insipsuggestions():
    searchData = getVideoData('inspirational')
    return render_template("videoLayout.html",
                           results=searchData,
                           title="Inspirational")
예제 #5
0
def motivsuggestions():
    searchData = getVideoData('motivation')
    return render_template("videoLayout.html",
                           results=searchData,
                           title="Motivation")
예제 #6
0
def philosuggestions():
    searchData = getVideoData('philosophy')
    return render_template("videoLayout.html",
                           results=searchData,
                           title="Philosophy")
예제 #7
0
def suggestions():
    searchData = getVideoData('stocism')
    return render_template("videoLayout.html",
                           results=searchData,
                           title="Stocism")
예제 #8
0
import youtube
VID = input("Enter a video ID: ")
print(youtube.getVideoData(VID, True))