Skip to content

Commit

Permalink
[bobx] rename "model" to "idol" extractor
Browse files Browse the repository at this point in the history
  • Loading branch information
mikf committed Sep 14, 2018
1 parent 99137f1 commit 22ab509
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/supportedsites.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Archive of Sins https://archiveofsins.com/ Threads
Archived.Moe https://archived.moe/ Threads
ArtStation https://www.artstation.com/ |Images from Use-0|
Behance https://www.behance.net/ Images from Users, Galleries
BobX http://www.bobx.com/dark/ Galleries, Models
BobX http://www.bobx.com/dark/ Galleries, Idols
Danbooru https://danbooru.donmai.us/ Pools, Popular Images, Posts, Tag-Searches
Desuarchive https://desuarchive.org/ Threads
DeviantArt https://www.deviantart.com/ |Collections, De-1| Optional (OAuth)
Expand Down
6 changes: 3 additions & 3 deletions gallery_dl/extractor/bobx.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,9 @@ def images(page):
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",
Expand Down
1 change: 1 addition & 0 deletions test/test_results.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

# temporary issues, etc.
BROKEN = {
"luscious", # 504 Gateway Time-out
}


Expand Down

0 comments on commit 22ab509

Please sign in to comment.