dev improvements
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import requests
|
||||
import urllib.parse
|
||||
from bs4 import BeautifulSoup
|
||||
from NyaaPy.utils import utils
|
||||
from NyaaPy import utils
|
||||
|
||||
class Nyaa:
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import requests
|
||||
from NyaaPy.utils import utils
|
||||
from NyaaPy import utils
|
||||
|
||||
class Pantsu:
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import requests
|
||||
from bs4 import BeautifulSoup
|
||||
from NyaaPy.utils import utils
|
||||
from NyaaPy import utils
|
||||
|
||||
class SukebeiNyaa:
|
||||
def search(self, keyword, **kwargs):
|
||||
|
||||
@@ -3,6 +3,5 @@ from NyaaPy import Pantsu, Nyaa
|
||||
pantsu = Pantsu()
|
||||
nyaa = Nyaa()
|
||||
|
||||
# print(pantsu.search(keyword='koe no katachi',
|
||||
# lang=["es", "ja"], category=[1, 3]))
|
||||
print(nyaa.search(keyword='yuru camp'))
|
||||
print(pantsu.search(keyword='koe no katachi',
|
||||
lang=["es", "ja"], category=[1, 3]))
|
||||
Reference in New Issue
Block a user