[danbooru] change default for 'ugoira' to 'false'

Downloading the pre-rendered versions should be a better default
than .zip files with individual frames.
This commit is contained in:
Mike Fährmann
2020-05-20 19:55:13 +02:00
parent 3201fe3521
commit e19f665a44
3 changed files with 5 additions and 5 deletions

View File

@@ -32,7 +32,7 @@ class DanbooruExtractor(SharedConfigMixin, Extractor):
def __init__(self, match):
super().__init__(match)
self.root = "https://{}.donmai.us".format(match.group(1))
self.ugoira = self.config("ugoira", True)
self.ugoira = self.config("ugoira", False)
self.params = {}
username, api_key = self._get_auth_info()
@@ -156,8 +156,8 @@ class DanbooruPostExtractor(DanbooruExtractor):
"content": "5e255713cbf0a8e0801dc423563c34d896bb9229",
}),
("https://danbooru.donmai.us/posts/3613024", {
"pattern": r"https?://.+\.webm$",
"options": (("ugoira", False),)
"pattern": r"https?://.+\.zip$",
"options": (("ugoira", True),)
})
)