vivren / SongJam

0 stars 0 forks source link

Never display an unavailabe video #4

Closed vivren closed 2 years ago

vivren commented 2 years ago
search = youtube.search().list(
    part="snippet",
    maxResults=1,
    type="video",
    q=message["song"],
    videoLicense="creativeCommon"
)

Added videoLicense="creativeCommon"