diff --git a/docs/configuration.rst b/docs/configuration.rst index a17fca08..67f63c5b 100644 --- a/docs/configuration.rst +++ b/docs/configuration.rst @@ -1563,8 +1563,15 @@ Description | If this is a ``list``, it selects which format to try to download. | Possibly available formats are - ``"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) extractor.bunkr.tlds diff --git a/gallery_dl/extractor/boosty.py b/gallery_dl/extractor/boosty.py index 997de4a6..33823be1 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: diff --git a/test/results/boosty.py b/test/results/boosty.py index 948b6eba..2da0e6b3 100644 --- a/test/results/boosty.py +++ b/test/results/boosty.py @@ -104,6 +104,18 @@ __tests__ = ( }, }, +{ + "#url" : "https://boosty.to/geekmedia/posts/31bb8fb6-83f1-404f-a597-f84bbe611d1d", + "#comment" : "video", + "#class" : boosty.BoostyPostExtractor, +}, + +{ + "#url" : "https://boosty.to/xcang/posts/5d4d6f90-5d48-4442-a7e5-2164a858681d", + "#comment" : "audio", + "#class" : boosty.BoostyPostExtractor, +}, + { "#url" : "https://boosty.to/", "#class" : boosty.BoostyFeedExtractor,