[bobx] rename "model" to "idol" extractor

This commit is contained in:
Mike Fährmann
2018-09-14 18:11:36 +02:00
parent 99137f1bee
commit 22ab509a70
3 changed files with 5 additions and 4 deletions

View File

@@ -89,9 +89,9 @@ class BobxGalleryExtractor(BobxExtractor):
return text.extract_iter(page, '<img src="/thumbnail', '"')
class BobxModelExtractor(BobxExtractor):
"""Extractor for a model's image galleries on bobx.com"""
subcategory = "model"
class BobxIdolExtractor(BobxExtractor):
"""Extractor for an idol's image galleries on bobx.com"""
subcategory = "idol"
pattern = [r"(?:https?://)?(?:www\.)?bobx\.com/([^/]+/[^/?&#]+)/?$"]
test = [("http://www.bobx.com/idol/nashiko-momotsuki/", {
"url": "4294c30465ba17c2ed755aa01762c2cb01edc70f",