update extractor docstrings
This commit is contained in:
@@ -191,7 +191,7 @@ class DeviantartDeviationExtractor(DeviantartExtractor):
|
||||
|
||||
|
||||
class DeviantartFavoriteExtractor(DeviantartExtractor):
|
||||
"""Extractor for an artist's favourites"""
|
||||
"""Extractor for an artist's favorites"""
|
||||
subcategory = "favorite"
|
||||
directory_fmt = ["{category}", "{subcategory}",
|
||||
"{collection[owner]} - {collection[title]}"]
|
||||
@@ -245,7 +245,7 @@ class DeviantartFavoriteExtractor(DeviantartExtractor):
|
||||
|
||||
|
||||
class DeviantartJournalExtractor(DeviantartExtractor):
|
||||
"""Extractor for single deviations"""
|
||||
"""Extractor for an artist's journals"""
|
||||
subcategory = "journal"
|
||||
pattern = [r"(?:https?://)?([^.]+)\.deviantart\.com/journal/?$"]
|
||||
test = [("http://shimoda7.deviantart.com/journal/", {
|
||||
|
||||
@@ -17,7 +17,7 @@ import requests
|
||||
|
||||
|
||||
class ExhentaiGalleryExtractor(Extractor):
|
||||
"""Extractor for image-galleries from exhentai.org"""
|
||||
"""Extractor for image galleries from exhentai.org"""
|
||||
category = "exhentai"
|
||||
subcategory = "gallery"
|
||||
directory_fmt = ["{category}", "{gallery-id}"]
|
||||
|
||||
@@ -213,6 +213,7 @@ class FlickrFavoriteExtractor(FlickrExtractor):
|
||||
|
||||
|
||||
class FlickrSearchExtractor(FlickrExtractor):
|
||||
"""Extractor for flickr photos based on search results"""
|
||||
subcategory = "search"
|
||||
directory_fmt = ["{category}", "{subcategory}", "{search[text]}"]
|
||||
pattern = [r"(?:https?://)?(?:www\.)?flickr\.com/search/?\?([^#]+)"]
|
||||
|
||||
@@ -14,7 +14,7 @@ import json
|
||||
|
||||
|
||||
class NhentaiGalleryExtractor(Extractor):
|
||||
"""Extractor for image-galleries from nhentai.net"""
|
||||
"""Extractor for image galleries from nhentai.net"""
|
||||
category = "nhentai"
|
||||
subcategory = "gallery"
|
||||
directory_fmt = ["{category}", "{gallery-id} {title}"]
|
||||
|
||||
@@ -50,9 +50,9 @@ class PawooExtractor(Extractor):
|
||||
return attachments
|
||||
|
||||
|
||||
class PawooAccountExtractor(PawooExtractor):
|
||||
class PawooUserExtractor(PawooExtractor):
|
||||
"""Extractor for all images of an account/user on pawoo.net"""
|
||||
subcategory = "account"
|
||||
subcategory = "user"
|
||||
pattern = [r"(?:https?://)?pawoo\.net/(@[^/]+)/?$"]
|
||||
test = [
|
||||
("https://pawoo.net/@kuroda", {
|
||||
|
||||
@@ -6,4 +6,4 @@
|
||||
# it under the terms of the GNU General Public License version 2 as
|
||||
# published by the Free Software Foundation.
|
||||
|
||||
__version__ = "0.9.0"
|
||||
__version__ = "0.9.1-dev"
|
||||
|
||||
Reference in New Issue
Block a user