summaryrefslogtreecommitdiffstats
path: root/gallery_dl/extractor/boosty.py
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2024-12-02 00:31:59 -0500
committerLibravatarUnit 193 <unit193@unit193.net>2024-12-02 00:31:59 -0500
commit1981ccaaea6eab2cf32536ec5afe132a870914d8 (patch)
tree013f1e17d922d3a6abf7f57aa6a175c2ce5d93bc /gallery_dl/extractor/boosty.py
parentfc004701f923bb954a22c7fec2ae8d607e78cb2b (diff)
New upstream version 1.28.0.upstream/1.28.0
Diffstat (limited to 'gallery_dl/extractor/boosty.py')
-rw-r--r--gallery_dl/extractor/boosty.py13
1 files changed, 11 insertions, 2 deletions
diff --git a/gallery_dl/extractor/boosty.py b/gallery_dl/extractor/boosty.py
index 997de4a..33823be 100644
--- a/gallery_dl/extractor/boosty.py
+++ b/gallery_dl/extractor/boosty.py
@@ -35,8 +35,16 @@ class BoostyExtractor(Extractor):
if isinstance(videos, str):
videos = videos.split(",")
elif not isinstance(videos, (list, tuple)):
- videos = ("quad_hd", "ultra_hd", "full_hd",
- "high", "medium", "low")
+ # ultra_hd: 2160p
+ # quad_hd: 1440p
+ # full_hd: 1080p
+ # high: 720p
+ # medium: 480p
+ # low: 360p
+ # lowest: 240p
+ # tiny: 144p
+ videos = ("ultra_hd", "quad_hd", "full_hd",
+ "high", "medium", "low", "lowest", "tiny")
self.videos = videos
def items(self):
@@ -325,6 +333,7 @@ class BoostyAPI():
def _pagination(self, endpoint, params, transform=None, key=None):
if "is_only_allowed" not in params and self.extractor.only_allowed:
+ params["only_allowed"] = "true"
params["is_only_allowed"] = "true"
while True: