update dict key: 'title' -> 'name'

This commit is contained in:
dgrossman
2017-10-13 14:50:02 -07:00
parent 2a6bd191fe
commit cbf478a73a

View File

@@ -31,12 +31,12 @@ Install it using pip.
if len(nyaa_query) > 0: if len(nyaa_query) > 0:
for result in nyaa_query: for result in nyaa_query:
print(result['title']) print(result['name'])
else: else:
print('Nothing here!') print('Nothing here!')
for new in nyaa_news: for new in nyaa_news:
print(new['title]) print(new['name])
``` ```
## Methods ## Methods