update extractor docstrings

pull/30/head
Mike Fährmann 7 years ago
parent b757687606
commit 1dac76fd1c
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

@ -91,7 +91,7 @@ Supported Sites
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|Pinterest |https://www.pinterest.com |Boards, Pins, pin.it Links | |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|Pixiv |https://www.pixiv.net/ |Images from Users, Bookmarks, Favorites, Individual Images |Required |
|Pixiv |https://www.pixiv.net/ |Images from Users, Bookmarks, Favorites, pixiv.me Links, Individual Images |Required |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|PowerManga |https://powermanga.org/ |Chapters, Manga | |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
@ -133,7 +133,7 @@ Supported Sites
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|Imageontime |http://imageontime.org/ |individual Images | |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|Imagetwist |http://imagetwist.com/ |individual Images | |
|Imagetwist |https://imagetwist.com/ |individual Images | |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|Imagevenue |http://imagevenue.com/ |individual Images | |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+

@ -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"

@ -52,11 +52,11 @@ CATEGORY_MAP = {
}
SUBCATEGORY_MAP = {
"account": "Images from Users",
"gallery": "Galleries",
"image" : "individual Images",
"issue" : "Comic-Issues",
"manga" : "Manga",
"me" : "pixiv.me Links",
"pinit" : "pin.it Links",
"search" : "Search Results",
"status" : "Images from Statuses",

Loading…
Cancel
Save