0.3.1 - Fixed #1
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
from NyaaPy.nyaa import Nyaa
|
||||
from NyaaPy.nyaa import NyaaPantsu
|
||||
import json
|
||||
|
||||
# Nyaa.si results
|
||||
nyaa_query = Nyaa.search('illo que pasa')
|
||||
nyaa_query = Nyaa.search('koe no katachi 1080')
|
||||
|
||||
if len(nyaa_query) > 0:
|
||||
for result in nyaa_query:
|
||||
@@ -11,7 +12,7 @@ else:
|
||||
print('Nothing here!')
|
||||
|
||||
# Nyaa.pantsu.cat results
|
||||
pantsu_query = NyaaPantsu.search('new game')
|
||||
pantsu_query = NyaaPantsu.search('new game!!')
|
||||
if len(pantsu_query) > 0:
|
||||
for result in pantsu_query:
|
||||
print(result['title'])
|
||||
|
||||
Reference in New Issue
Block a user