[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:
parent
3201fe3521
commit
e19f665a44
@ -550,7 +550,7 @@ extractor.danbooru.ugoira
|
||||
-------------------------
|
||||
=========== =====
|
||||
Type ``bool``
|
||||
Default ``true``
|
||||
Default ``false``
|
||||
Description Controls the download target for Ugoira posts.
|
||||
|
||||
* ``true``: Original ZIP archives
|
||||
|
@ -25,7 +25,7 @@
|
||||
{
|
||||
"username": null,
|
||||
"password": null,
|
||||
"ugoira": true
|
||||
"ugoira": false
|
||||
},
|
||||
"deviantart":
|
||||
{
|
||||
|
@ -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),)
|
||||
})
|
||||
)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user