コード例 #1
0
ファイル: welcome.py プロジェクト: cam-perry/summarAIze
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))