feat(nyaasi): add static classes instead of object-based ones
This commit is contained in:
0
nyaapy/nyaasi/__init__.py
Normal file
0
nyaapy/nyaasi/__init__.py
Normal file
7
nyaapy/nyaasi/nyaa.py
Normal file
7
nyaapy/nyaasi/nyaa.py
Normal file
@@ -0,0 +1,7 @@
|
||||
from nyaapy.anime_site import AnimeTorrentSite
|
||||
from nyaapy.torrent import TorrentSite
|
||||
|
||||
|
||||
class Nyaa(AnimeTorrentSite):
|
||||
SITE = TorrentSite.NYAASI
|
||||
URL = "https://nyaa.si"
|
||||
6
nyaapy/nyaasi/sukebei.py
Normal file
6
nyaapy/nyaasi/sukebei.py
Normal file
@@ -0,0 +1,6 @@
|
||||
from nyaapy.anime_site import AnimeTorrentSite
|
||||
from nyaapy.torrent import TorrentSite
|
||||
|
||||
class SukebeiNyaa(AnimeTorrentSite):
|
||||
SITE = TorrentSite.SUKEBEINYAASI
|
||||
URL = "https://sukebei.nyaa.si"
|
||||
Reference in New Issue
Block a user