Nyaa.si & sukebei.nyaa.si LXML fully ready

This commit is contained in:
Ferenc Nánási
2020-02-01 15:11:35 +01:00
parent bf01a922f0
commit 5c93e516ba
6 changed files with 126 additions and 87 deletions

View File

@@ -1,12 +1,11 @@
import requests
import urllib.parse
from NyaaPy import utils
class Nyaa:
def __init__(self):
self.URI = "http://nyaa.si"
self.URI = "https://nyaa.si"
def last_uploads(self, number_of_results):
r = requests.get(self.URI)