JuanjoSalvador / NyaaPy

Unofficial Python wrapper for Nyaa anime torrent sites
MIT License
48 stars 23 forks source link

Add support for sukebei (Nyaa.si and NyaaPantsu) #29

Closed JuanjoSalvador closed 6 years ago

JuanjoSalvador commented 6 years ago

Make a port won't be hard. It's only change the base URL and minor fixes into category parsing.

JuanjoSalvador commented 6 years ago

The bad part: how to differenciate sukebei.pantsu and sukebai.nyaa.

JuanjoSalvador commented 6 years ago

Big idea: making classes SubekeiNyaa and SubekeiPantsu inside each class file, so we can use:

from NyaaPy import SubekeiNyaa and from NyaaPy import SubekeiPantsu as separated classes.

JuanjoSalvador commented 6 years ago

Support for NyaaSukebei added!