Integrated Pantsu on NyaaPy again!

This commit is contained in:
JuanjoSalvador
2017-11-03 17:52:15 +01:00
parent 7c8b614293
commit ac5dbe6a78
7 changed files with 66 additions and 28 deletions

View File

@@ -1,12 +1,3 @@
from NyaaPy import Nyaa
from NyaaPy import Pantsu
# Nyaa.si results
nyaa_query = Nyaa.search()
nyaa_news = Nyaa.news(5)
if len(nyaa_query) > 0:
for result in nyaa_query:
print(result['name'])
else:
print('Nothing here!')
print(Pantsu.search('koe no katachi', lang=["es", "ja"], category=[1, 3]))