This forum is now read-only. Please use our new forums at

The NPR API Forum

View Course » View Exercise

556 points
Submitted by
Konstantinos Evangelidis
over 3 years ago

17/34 I have an error

In my code i have an error but i don't know my error. Can you help me??

from urllib2 import urlopen
from quot3 import urllib

key = "API_KEY"
url = ''
url += key

url += '&numResults=3&action=Or&requiredAssets=audio&format=Podcast'

1 vote

Best answer


Line 2 may be the issue.

from urllib import quote

539 points
Submitted by
humza shakir
over 3 years ago