LXML based Nyaa parsing demo ready, DO NOT USE IT

This commit is contained in:
Ferenc Nánási
2020-01-13 23:11:55 +01:00
parent 495070e5ac
commit 03f030914b
4 changed files with 283 additions and 7 deletions

View File

@@ -1,7 +1,11 @@
from NyaaPy import Pantsu, Nyaa
from pprint import pprint
pantsu = Pantsu()
# pantsu = Pantsu()
nyaa = Nyaa()
pprint(nyaa.last_uploads(5))
"""
print(pantsu.search(keyword='koe no katachi',
lang=["es", "ja"], category=[1, 3]))
lang=["es", "ja"], category=[1, 3]))
"""