diff --git a/docs/gallery-dl.conf b/docs/gallery-dl.conf index 93067e05..9252b3e0 100644 --- a/docs/gallery-dl.conf +++ b/docs/gallery-dl.conf @@ -59,6 +59,9 @@ "morecomments": false, "date-min": 0, "date-max": 253402210800, + "date-format": "", + "id-min": "0", + "id-max": "ZIK0ZJ", "recursion": 0 }, "flickr": @@ -67,6 +70,27 @@ "access-token-secret": null, "metadata": false, "size-max": null + }, + "deviantart": + { + "flat": true, + "mature": true + }, + "gfycat": + { + "format": "mp4" + }, + "imgur": + { + "mp4": true + }, + "recursive": + { + "blacklist": ["directlink", "oauth", "recursive", "test"] + }, + "oauth": + { + "browser": true } }, "output": diff --git a/gallery_dl/extractor/deviantart.py b/gallery_dl/extractor/deviantart.py index 56727fd1..1a80da7c 100644 --- a/gallery_dl/extractor/deviantart.py +++ b/gallery_dl/extractor/deviantart.py @@ -172,7 +172,7 @@ class DeviantartGalleryExtractor(DeviantartExtractor): ] def deviations(self): - if self.api.user_profile(self.user) and self.flat: + if self.flat and self.api.user_profile(self.user): return self.api.gallery_all(self.user, self.offset) else: folders = self.api.gallery_folders(self.user) diff --git a/test/test_extractors.py b/test/test_extractors.py index ce80c426..295ea89e 100644 --- a/test/test_extractors.py +++ b/test/test_extractors.py @@ -54,7 +54,7 @@ skip = [ # don't work on travis-ci "exhentai", "kissmanga", "mangafox", "dynastyscans", "nijie", # temporary issues - "fallenangels", + ] # enable selective testing for direct calls if __name__ == '__main__' and len(sys.argv) > 1: