aboutsummaryrefslogtreecommitdiffstats
path: root/tpblite/tpblite.py
diff options
context:
space:
mode:
Diffstat (limited to 'tpblite/tpblite.py')
-rw-r--r--tpblite/tpblite.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tpblite/tpblite.py b/tpblite/tpblite.py
index b4028b6..9365c7e 100644
--- a/tpblite/tpblite.py
+++ b/tpblite/tpblite.py
@@ -61,7 +61,7 @@ class TPB:
self._search_url = q.url
return Torrents(q.html_source)
- def top(self, category: int = 0, last_48: bool = False):
+ def top(self, category: int = 0, last_48: bool = False) -> Torrents:
"""Get the top torrents of a category and return a list of Torrents
Args:
@@ -70,7 +70,7 @@ class TPB:
last_48: wether to fetch the top torrent in the last 48 hours or the overall top
Return:
- Torrent object
+ Torrents object
"""
q = QueryParser.top(self.base_url, category, last_48)
self._search_url = q.url