Integrated Pantsu on NyaaPy again!
This commit is contained in:
@@ -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]))
|
||||
Reference in New Issue
Block a user