Entering the following code, renders the error
Oops, try again.
Your searchTerm parameter doesn't contain the value of search_string.
When a search term is present, and the string is properly generated (as follows):
from urllib2 import urlopen
from urllib import quote
key = "API_KEY"
url = 'http://api.npr.org/query?apiKey='
url += key
npr_id = raw_input("Enter comma-separated NPR IDs or leave blank.")
search_string = raw_input("Enter your search string or leave blank.")
feed_title = raw_input("What's your feed title?")
if npr_id or search_string:
raw_input("Hit ENTER to download your podcast")
url += "&id=" + npr_id
url += "&searchTerm=" + quote(search_string)
url += "&title=" + quote(feed_title)
print "You must enter an NPR ID, search term, or both."`
Adjusting &searchTerm to &searchterm (as used in the demo in lesson 15) does not change the results, and the code is otherwise identical to that found in 15 (minus the bits needed to issue the query). I'm thinking this is a bug, but would be happy to have someone tell me it's not.