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