deleted useless folders
This commit is contained in:
@@ -1,23 +0,0 @@
|
||||
import requests
|
||||
import xmltodict
|
||||
|
||||
|
||||
class Nyaa():
|
||||
def search(keyword):
|
||||
nyaa_baseurl = "https://nyaa.si/?page=rss&c=1_0&f=0&q="
|
||||
|
||||
request = requests.get(nyaa_baseurl + keyword)
|
||||
response = xmltodict.parse(request.text)
|
||||
results = response['rss']['channel']['item']
|
||||
|
||||
return results
|
||||
|
||||
class NyaaPantsu():
|
||||
def search(keyword):
|
||||
nyaapantsu_baseurl = "https://nyaa.pantsu.cat/feed?c=_&s=0&max=99999&userID=0&q="
|
||||
|
||||
request = requests.get(nyaapantsu_baseurl + keyword)
|
||||
response = xmltodict.parse(request.text)
|
||||
results = response['rss']['channel']['item']
|
||||
|
||||
return results
|
||||
BIN
dist/nyaapy-0.1-py3.6.egg
vendored
BIN
dist/nyaapy-0.1-py3.6.egg
vendored
Binary file not shown.
@@ -1,15 +0,0 @@
|
||||
Metadata-Version: 1.0
|
||||
Name: nyaapy
|
||||
Version: 0.1
|
||||
Summary: Allows you to make requests on Nyaa.si and nyaa.pantsu.cat
|
||||
Home-page: https://github.com/juanjosalvador/nyaapy
|
||||
Author: Juanjo Salvador
|
||||
Author-email: juanjosalvador@netc.eu
|
||||
License: MIT
|
||||
Description: # NyaaPy
|
||||
|
||||
Unofficial Python module to search into Nyaa.si and nyaa.pantsu.cat.
|
||||
|
||||
Based on [Kylart's Nyaapi](https://github.com/Kylart/Nyaapi).
|
||||
|
||||
Platform: UNKNOWN
|
||||
@@ -1,8 +0,0 @@
|
||||
setup.py
|
||||
NyaaPy/__init__.py
|
||||
NyaaPy/nyaa.py
|
||||
nyaapy.egg-info/PKG-INFO
|
||||
nyaapy.egg-info/SOURCES.txt
|
||||
nyaapy.egg-info/dependency_links.txt
|
||||
nyaapy.egg-info/not-zip-safe
|
||||
nyaapy.egg-info/top_level.txt
|
||||
@@ -1 +0,0 @@
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
NyaaPy
|
||||
Reference in New Issue
Block a user