Use our token with pafy (#228)

This commit is contained in:
Ritiek Malhotra
2018-01-30 19:47:26 +05:30
committed by GitHub
parent ffb4764074
commit 08ae7ae24a

View File

@@ -7,6 +7,8 @@ import os
import pprint
log = const.log
# Please respect this YouTube token :)
pafy.set_api_key('AIzaSyAnItl3udec-Q1d5bkjKJGL-RgrKO_vU90')
def go_pafy(raw_song, meta_tags=None):