first commit

This commit is contained in:
JuanjoSalvador
2017-08-12 17:09:52 +02:00
commit 9141a71ce2
15 changed files with 192 additions and 0 deletions

14
tests/test.py Normal file
View File

@@ -0,0 +1,14 @@
from NyaaPy.nyaa import Nyaa
from NyaaPy.nyaa import NyaaPantsu
# Nyaa.si results
nyaa_query = Nyaa.search('new game')
for result in nyaa_query:
print(result['title'])
# Nyaa.pantsu.cat results
pantsu_query = NyaaPantsu.search('new game')
for result in pantsu_query:
print(result['title'])