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