Skip to content

Bulk asynchronous downloader for multiple file hosts

Fix dict type hinting?

Jules8201409b1760
diff --git a/URLs.txt b/URLs.txt
index b020c0224..e69de29bb 100644
--- a/URLs.txt
+++ b/URLs.txt
@@ -1 +0,0 @@
-https://bunkr.is/a/QsoCjchn
\ No newline at end of file
diff --git a/utils/downloaders.py b/utils/downloaders.py
index eec8479d1..641a0b6f2 100644
--- a/utils/downloaders.py
+++ b/utils/downloaders.py
@@ -139,11 +139,7 @@ class BunkrDownloader(Downloader):
@staticmethod
def pairwise_skipping(it: Iterable[T], chunk_size: int) -> Tuple[T, ...]:
- """Iterate over tuples of the iterable of size `chunk_size` at a time.
-
- If the elements can't be evenely split, the last tuple will be
- shrunk to accommodate the rest of the elements.
- """
+ """Iterate over tuples of the iterable of size `chunk_size` at a time."""
split_it = [it[i:i+chunk_size] for i in range(0, len(it), chunk_size)]
return map(tuple, split_it)