Bulk asynchronous downloader for multiple file hosts
Python asynciobunkrcyberdropdownloaderdropboxfilestergofilegoogle-drivemediafiremegamega-nzonedrivepatreonpawchivepinterestpixeldraintransfer-ittwitchtwittervk
Fix dict type hinting?
Jules8201409b1760
diff --git a/URLs.txt b/URLs.txtindex b020c0224..e69de29bb 100644--- a/URLs.txt+++ b/URLs.txt@@ -1 +0,0 @@-https://bunkr.is/a/QsoCjchn\ No newline at end of filediff --git a/utils/downloaders.py b/utils/downloaders.pyindex eec8479d1..641a0b6f2 100644--- a/utils/downloaders.py+++ b/utils/downloaders.py@@ -139,11 +139,7 @@ class BunkrDownloader(Downloader):@staticmethoddef 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)